summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Fetka <[email protected]>2020-09-22 00:25:22 (GMT)
committer Mario Fetka <[email protected]>2020-09-22 00:25:22 (GMT)
commit434d6067d9c0f11f7473fc853c170d88e80e2590 (patch)
treec29e885ec5039a32dc2fdf7778464dcf6d2c96e2
Imported Upstream version 1.5.1upstream/1.5.1upstream
-rw-r--r--AUTHORS20
-rw-r--r--CHANGELOG92
-rw-r--r--KNOWN_ISSUES8
-rw-r--r--LICENSE35
-rw-r--r--Makefile349
-rw-r--r--README.md13
-rw-r--r--Vagrantfile129
-rwxr-xr-xbin/cpplint.py2725
-rwxr-xr-xbin/protoc-gen-pbrpc4
-rwxr-xr-xbin/protoc-gen-pbrpccpp4
-rwxr-xr-xbin/toggle_jcip_annnotations.sh78
-rwxr-xr-xbin/umount.xtreemfs12
-rwxr-xr-xbin/xtfs_benchmark54
-rwxr-xr-xbin/xtfs_chstatus46
-rwxr-xr-xbin/xtfs_cleanup46
-rwxr-xr-xbin/xtfs_mrcdbtool46
-rwxr-xr-xbin/xtfs_remove_osd46
-rwxr-xr-xbin/xtfs_scrub46
-rwxr-xr-xcontrib/benchmark/benchmark.sh403
-rwxr-xr-xcontrib/benchmark/drop_caches3
-rw-r--r--contrib/filter-MRC-dump-with-XSLT/filter_files.xslt69
-rw-r--r--contrib/ganglia-plugin/.project17
-rw-r--r--contrib/ganglia-plugin/.pydevproject10
-rw-r--r--contrib/ganglia-plugin/README.txt6
-rw-r--r--contrib/ganglia-plugin/config-files/xtfs-dir.pyconf61
-rw-r--r--contrib/ganglia-plugin/config-files/xtfs-mrc.pyconf56
-rw-r--r--contrib/ganglia-plugin/config-files/xtfs-osd.pyconf107
-rw-r--r--contrib/ganglia-plugin/src/xtfs-dir-plugin.py250
-rw-r--r--contrib/ganglia-plugin/src/xtfs-mrc-plugin.py221
-rw-r--r--contrib/ganglia-plugin/src/xtfs-osd-plugin.py477
-rwxr-xr-xcontrib/osd-health/osd_health_check.sh37
-rw-r--r--contrib/server-repl-plugin/BabuDB_replication_plugin.jarbin0 -> 757620 bytes
-rw-r--r--contrib/server-repl-plugin/LICENSE32
-rw-r--r--contrib/server-repl-plugin/README3
-rw-r--r--contrib/server-repl-plugin/config/dir.properties82
-rw-r--r--contrib/server-repl-plugin/config/mrc.properties82
-rwxr-xr-xcontrib/server-repl-plugin/update_BabuDB_replication_plugin_jar.sh60
-rwxr-xr-xcontrib/travis/parse_results.py34
-rw-r--r--contrib/vagrant/provision.sh7
-rwxr-xr-xcontrib/xtreemfs-osd-farm/xtreemfs-osd-farm223
-rw-r--r--cpp/CMakeLists.txt397
-rw-r--r--cpp/Doxyfile1623
-rw-r--r--cpp/cmake/FindValgrind.cmake18
-rw-r--r--cpp/cpp_prj/.dep.inc5
-rw-r--r--cpp/cpp_prj/cpp_prj-Makefile.mk128
-rw-r--r--cpp/cpp_prj/nbproject/Makefile-Default.mk66
-rw-r--r--cpp/cpp_prj/nbproject/Makefile-impl.mk133
-rw-r--r--cpp/cpp_prj/nbproject/Makefile-variables.mk16
-rw-r--r--cpp/cpp_prj/nbproject/Package-Default.bash74
-rw-r--r--cpp/cpp_prj/nbproject/configurations.xml137
-rw-r--r--cpp/cpp_prj/nbproject/private/configurations.xml21
-rw-r--r--cpp/cpp_prj/nbproject/private/private.properties0
-rw-r--r--cpp/cpp_prj/nbproject/private/private.xml7
-rw-r--r--cpp/cpp_prj/nbproject/project.properties0
-rw-r--r--cpp/cpp_prj/nbproject/project.xml23
-rw-r--r--cpp/generated/include/Common.pb.cc438
-rw-r--r--cpp/generated/include/Common.pb.h212
-rw-r--r--cpp/generated/include/PBRPC.pb.cc111
-rw-r--r--cpp/generated/include/PBRPC.pb.h78
-rw-r--r--cpp/generated/pbrpc/Ping.pb.cc1529
-rw-r--r--cpp/generated/pbrpc/Ping.pb.h911
-rw-r--r--cpp/generated/pbrpc/PingServiceClient.h79
-rw-r--r--cpp/generated/pbrpc/PingServiceConstants.h18
-rw-r--r--cpp/generated/pbrpc/RPC.pb.cc2293
-rw-r--r--cpp/generated/pbrpc/RPC.pb.h1687
-rw-r--r--cpp/generated/xtreemfs/DIR.pb.cc5586
-rw-r--r--cpp/generated/xtreemfs/DIR.pb.h3602
-rw-r--r--cpp/generated/xtreemfs/DIRServiceClient.h405
-rw-r--r--cpp/generated/xtreemfs/DIRServiceConstants.h32
-rw-r--r--cpp/generated/xtreemfs/GlobalTypes.pb.cc3991
-rw-r--r--cpp/generated/xtreemfs/GlobalTypes.pb.h2713
-rw-r--r--cpp/generated/xtreemfs/MRC.pb.cc18740
-rw-r--r--cpp/generated/xtreemfs/MRC.pb.h14469
-rw-r--r--cpp/generated/xtreemfs/MRCServiceClient.h981
-rw-r--r--cpp/generated/xtreemfs/MRCServiceConstants.h57
-rw-r--r--cpp/generated/xtreemfs/OSD.pb.cc13946
-rw-r--r--cpp/generated/xtreemfs/OSD.pb.h9181
-rw-r--r--cpp/generated/xtreemfs/OSDServiceClient.h838
-rw-r--r--cpp/generated/xtreemfs/OSDServiceConstants.h51
-rw-r--r--cpp/generated/xtreemfs/get_request_message.cc420
-rw-r--r--cpp/generated/xtreemfs/get_request_message.h24
-rw-r--r--cpp/include/cbfs/cbfs_adapter.h274
-rw-r--r--cpp/include/cbfs/cbfs_enumeration_context.h39
-rw-r--r--cpp/include/cbfs/cbfs_options.h51
-rw-r--r--cpp/include/fuse/cached_directory_entries.h31
-rw-r--r--cpp/include/fuse/fuse_adapter.h160
-rw-r--r--cpp/include/fuse/fuse_operations.h106
-rw-r--r--cpp/include/fuse/fuse_options.h70
-rw-r--r--cpp/include/json/json-forwards.h249
-rw-r--r--cpp/include/json/json.h1856
-rw-r--r--cpp/include/ld_preload/environment.h47
-rw-r--r--cpp/include/ld_preload/misc.h58
-rw-r--r--cpp/include/ld_preload/open_file_table.h61
-rw-r--r--cpp/include/ld_preload/passthrough.h79
-rw-r--r--cpp/include/ld_preload/path.h29
-rw-r--r--cpp/include/ld_preload/preload.h39
-rw-r--r--cpp/include/ld_preload/preload_options.h45
-rw-r--r--cpp/include/libxtreemfs/async_write_buffer.h90
-rw-r--r--cpp/include/libxtreemfs/async_write_handler.h300
-rw-r--r--cpp/include/libxtreemfs/client.h192
-rw-r--r--cpp/include/libxtreemfs/client_implementation.h184
-rw-r--r--cpp/include/libxtreemfs/container_uuid_iterator.h73
-rw-r--r--cpp/include/libxtreemfs/execute_sync_request.h117
-rw-r--r--cpp/include/libxtreemfs/file_handle.h249
-rw-r--r--cpp/include/libxtreemfs/file_handle_implementation.h384
-rw-r--r--cpp/include/libxtreemfs/file_info.h348
-rw-r--r--cpp/include/libxtreemfs/helper.h153
-rw-r--r--cpp/include/libxtreemfs/interrupt.h36
-rw-r--r--cpp/include/libxtreemfs/metadata_cache.h198
-rw-r--r--cpp/include/libxtreemfs/metadata_cache_entry.h45
-rw-r--r--cpp/include/libxtreemfs/object_cache.h152
-rw-r--r--cpp/include/libxtreemfs/options.h326
-rw-r--r--cpp/include/libxtreemfs/pbrpc_url.h82
-rw-r--r--cpp/include/libxtreemfs/simple_uuid_iterator.h42
-rw-r--r--cpp/include/libxtreemfs/stripe_translator.h97
-rw-r--r--cpp/include/libxtreemfs/system_user_mapping.h66
-rw-r--r--cpp/include/libxtreemfs/system_user_mapping_unix.h46
-rw-r--r--cpp/include/libxtreemfs/system_user_mapping_windows.h24
-rw-r--r--cpp/include/libxtreemfs/typedefs.h55
-rw-r--r--cpp/include/libxtreemfs/user_mapping.h74
-rw-r--r--cpp/include/libxtreemfs/user_mapping_gridmap.h120
-rw-r--r--cpp/include/libxtreemfs/user_mapping_gridmap_globus.h28
-rw-r--r--cpp/include/libxtreemfs/user_mapping_gridmap_unicore.h44
-rw-r--r--cpp/include/libxtreemfs/user_mapping_unix.h46
-rw-r--r--cpp/include/libxtreemfs/uuid_cache.h41
-rw-r--r--cpp/include/libxtreemfs/uuid_container.h63
-rw-r--r--cpp/include/libxtreemfs/uuid_item.h54
-rw-r--r--cpp/include/libxtreemfs/uuid_iterator.h84
-rw-r--r--cpp/include/libxtreemfs/uuid_resolver.h58
-rw-r--r--cpp/include/libxtreemfs/version_management.h13
-rw-r--r--cpp/include/libxtreemfs/vivaldi.h121
-rw-r--r--cpp/include/libxtreemfs/vivaldi_node.h73
-rw-r--r--cpp/include/libxtreemfs/volume.h523
-rw-r--r--cpp/include/libxtreemfs/volume_implementation.h406
-rw-r--r--cpp/include/libxtreemfs/xcap_handler.h29
-rw-r--r--cpp/include/libxtreemfs/xtreemfs_exception.h153
-rw-r--r--cpp/include/lsfs.xtreemfs/lsfs_options.h59
-rw-r--r--cpp/include/mkfs.xtreemfs/mkfs_options.h116
-rw-r--r--cpp/include/rmfs.xtreemfs/rmfs_options.h62
-rw-r--r--cpp/include/rpc/abstract_socket_channel.h52
-rw-r--r--cpp/include/rpc/callback_interface.h65
-rw-r--r--cpp/include/rpc/client.h160
-rw-r--r--cpp/include/rpc/client_connection.h161
-rw-r--r--cpp/include/rpc/client_request.h211
-rw-r--r--cpp/include/rpc/client_request_callback_interface.h25
-rw-r--r--cpp/include/rpc/grid_ssl_socket_channel.h105
-rw-r--r--cpp/include/rpc/record_marker.h43
-rw-r--r--cpp/include/rpc/ssl_options.h117
-rw-r--r--cpp/include/rpc/ssl_socket_channel.h104
-rw-r--r--cpp/include/rpc/sync_callback.h96
-rw-r--r--cpp/include/rpc/tcp_socket_channel.h72
-rw-r--r--cpp/include/util/annotations.h48
-rw-r--r--cpp/include/util/error_log.h57
-rw-r--r--cpp/include/util/logging.h68
-rw-r--r--cpp/include/util/synchronized_queue.h61
-rw-r--r--cpp/include/util/zipf_generator.h45
-rw-r--r--cpp/include/xtfsutil/xtfsutil_server.h244
-rw-r--r--cpp/src/cbfs/cbfs_adapter.cpp1208
-rw-r--r--cpp/src/cbfs/cbfs_enumeration_context.cpp21
-rw-r--r--cpp/src/cbfs/cbfs_options.cpp109
-rw-r--r--cpp/src/cbfs/mount.xtreemfs.cpp90
-rw-r--r--cpp/src/example_libxtreemfs/example_libxtreemfs.cpp119
-rw-r--r--cpp/src/example_libxtreemfs/example_replication.cpp171
-rw-r--r--cpp/src/fuse/fuse_adapter.cpp1618
-rw-r--r--cpp/src/fuse/fuse_operations.cpp407
-rw-r--r--cpp/src/fuse/fuse_options.cpp261
-rw-r--r--cpp/src/fuse/mount.xtreemfs.cpp283
-rw-r--r--cpp/src/json/jsoncpp.cpp4230
-rw-r--r--cpp/src/ld_preload/environment.cpp118
-rw-r--r--cpp/src/ld_preload/functions.cpp377
-rw-r--r--cpp/src/ld_preload/misc.cpp97
-rw-r--r--cpp/src/ld_preload/open_file_table.cpp101
-rw-r--r--cpp/src/ld_preload/passthrough.cpp94
-rw-r--r--cpp/src/ld_preload/path.cpp38
-rw-r--r--cpp/src/ld_preload/preload.cpp300
-rw-r--r--cpp/src/ld_preload/preload_options.cpp94
-rw-r--r--cpp/src/libxtreemfs/async_write_buffer.cpp58
-rw-r--r--cpp/src/libxtreemfs/async_write_handler.cpp663
-rw-r--r--cpp/src/libxtreemfs/client.cpp69
-rw-r--r--cpp/src/libxtreemfs/client_implementation.cpp567
-rw-r--r--cpp/src/libxtreemfs/container_uuid_iterator.cpp56
-rw-r--r--cpp/src/libxtreemfs/execute_sync_request.cpp478
-rw-r--r--cpp/src/libxtreemfs/file_handle_implementation.cpp1293
-rw-r--r--cpp/src/libxtreemfs/file_info.cpp505
-rw-r--r--cpp/src/libxtreemfs/helper.cpp583
-rw-r--r--cpp/src/libxtreemfs/interrupt.cpp35
-rw-r--r--cpp/src/libxtreemfs/metadata_cache.cpp1008
-rw-r--r--cpp/src/libxtreemfs/metadata_cache_entry.cpp22
-rw-r--r--cpp/src/libxtreemfs/object_cache.cpp271
-rw-r--r--cpp/src/libxtreemfs/options.cpp730
-rw-r--r--cpp/src/libxtreemfs/pbrpc_url.cpp117
-rw-r--r--cpp/src/libxtreemfs/simple_uuid_iterator.cpp114
-rw-r--r--cpp/src/libxtreemfs/stripe_translator.cpp77
-rw-r--r--cpp/src/libxtreemfs/system_user_mapping.cpp43
-rw-r--r--cpp/src/libxtreemfs/system_user_mapping_unix.cpp295
-rw-r--r--cpp/src/libxtreemfs/system_user_mapping_windows.cpp57
-rw-r--r--cpp/src/libxtreemfs/user_mapping.cpp39
-rw-r--r--cpp/src/libxtreemfs/user_mapping_gridmap.cpp216
-rw-r--r--cpp/src/libxtreemfs/user_mapping_gridmap_globus.cpp107
-rw-r--r--cpp/src/libxtreemfs/user_mapping_gridmap_unicore.cpp154
-rw-r--r--cpp/src/libxtreemfs/uuid_cache.cpp78
-rw-r--r--cpp/src/libxtreemfs/uuid_container.cpp82
-rw-r--r--cpp/src/libxtreemfs/uuid_iterator.cpp85
-rw-r--r--cpp/src/libxtreemfs/vivaldi.cpp498
-rw-r--r--cpp/src/libxtreemfs/vivaldi_node.cpp263
-rw-r--r--cpp/src/libxtreemfs/volume_implementation.cpp1603
-rw-r--r--cpp/src/lsfs.xtreemfs/lsfs.xtreemfs.cpp100
-rw-r--r--cpp/src/lsfs.xtreemfs/lsfs_options.cpp116
-rw-r--r--cpp/src/mkfs.xtreemfs/mkfs.xtreemfs.cpp239
-rw-r--r--cpp/src/mkfs.xtreemfs/mkfs_options.cpp280
-rw-r--r--cpp/src/rmfs.xtreemfs/rmfs.xtreemfs.cpp141
-rw-r--r--cpp/src/rmfs.xtreemfs/rmfs_options.cpp127
-rw-r--r--cpp/src/rpc/client.cpp845
-rw-r--r--cpp/src/rpc/client_connection.cpp608
-rw-r--r--cpp/src/rpc/client_request.cpp113
-rw-r--r--cpp/src/rpc/record_marker.cpp60
-rw-r--r--cpp/src/rpc/sync_callback.cpp77
-rw-r--r--cpp/src/util/error_log.cpp31
-rw-r--r--cpp/src/util/logging.cpp175
-rw-r--r--cpp/src/util/zipf_generator.cpp76
-rw-r--r--cpp/src/xtfsutil/xtfsutil.cpp1298
-rw-r--r--cpp/src/xtfsutil/xtfsutil_server.cpp805
-rw-r--r--cpp/test/common/drop_rules.h131
-rw-r--r--cpp/test/common/test_environment.cpp108
-rw-r--r--cpp/test/common/test_environment.h59
-rw-r--r--cpp/test/common/test_rpc_server.h590
-rw-r--r--cpp/test/common/test_rpc_server_dir.cpp144
-rw-r--r--cpp/test/common/test_rpc_server_dir.h72
-rw-r--r--cpp/test/common/test_rpc_server_mrc.cpp146
-rw-r--r--cpp/test/common/test_rpc_server_mrc.h82
-rw-r--r--cpp/test/common/test_rpc_server_osd.cpp146
-rw-r--r--cpp/test/common/test_rpc_server_osd.h97
-rw-r--r--cpp/test/fuse/fuse_options_test.cpp84
-rwxr-xr-xcpp/test/ld_preload/cp.sh4
-rw-r--r--cpp/test/ld_preload/preload_test.cpp71
-rwxr-xr-xcpp/test/ld_preload/preload_test.sh4
-rwxr-xr-xcpp/test/ld_preload/setfattr.sh4
-rw-r--r--cpp/test/libxtreemfs/async_write_handler_test.cpp249
-rw-r--r--cpp/test/libxtreemfs/client_implementation_test.cpp180
-rw-r--r--cpp/test/libxtreemfs/helper_test.cpp92
-rw-r--r--cpp/test/libxtreemfs/metadata_cache_test.cpp335
-rw-r--r--cpp/test/libxtreemfs/object_cache_test.cpp292
-rw-r--r--cpp/test/libxtreemfs/options_test.cpp91
-rw-r--r--cpp/test/libxtreemfs/pbprpc_url_test.cpp222
-rw-r--r--cpp/test/libxtreemfs/system_user_mapping_unix_test.cpp206
-rw-r--r--cpp/test/libxtreemfs/user_mapping_gridmap_globus_test.cpp137
-rw-r--r--cpp/test/libxtreemfs/user_mapping_gridmap_unicore_test.cpp224
-rw-r--r--cpp/test/libxtreemfs/uuid_iterator_test.cpp337
-rw-r--r--cpp/test/libxtreemfs/volume_implementation_test.cpp1042
-rw-r--r--cpp/test/rpc/client_ssl_test.cpp1199
-rw-r--r--cpp/test/rpc/client_test.cpp167
-rw-r--r--cpp/thirdparty/gtest-1.7.0/CHANGES157
-rw-r--r--cpp/thirdparty/gtest-1.7.0/CMakeLists.txt252
-rw-r--r--cpp/thirdparty/gtest-1.7.0/CONTRIBUTORS37
-rw-r--r--cpp/thirdparty/gtest-1.7.0/LICENSE28
-rw-r--r--cpp/thirdparty/gtest-1.7.0/Makefile.am306
-rw-r--r--cpp/thirdparty/gtest-1.7.0/Makefile.in1360
-rw-r--r--cpp/thirdparty/gtest-1.7.0/README435
-rw-r--r--cpp/thirdparty/gtest-1.7.0/aclocal.m41198
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/build-aux/config.guess1530
-rw-r--r--cpp/thirdparty/gtest-1.7.0/build-aux/config.h.in69
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/build-aux/config.sub1773
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/build-aux/depcomp688
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/build-aux/install-sh527
-rw-r--r--cpp/thirdparty/gtest-1.7.0/build-aux/ltmain.sh9661
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/build-aux/missing331
-rw-r--r--cpp/thirdparty/gtest-1.7.0/cmake/internal_utils.cmake227
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest.cbproj138
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest.groupproj54
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest_all.cc38
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest_link.cc40
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest_main.cbproj82
-rw-r--r--cpp/thirdparty/gtest-1.7.0/codegear/gtest_unittest.cbproj88
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/configure18222
-rw-r--r--cpp/thirdparty/gtest-1.7.0/configure.ac68
-rw-r--r--cpp/thirdparty/gtest-1.7.0/fused-src/gtest/gtest-all.cc9592
-rw-r--r--cpp/thirdparty/gtest-1.7.0/fused-src/gtest/gtest.h20061
-rw-r--r--cpp/thirdparty/gtest-1.7.0/fused-src/gtest/gtest_main.cc38
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-death-test.h294
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-message.h250
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-param-test.h1421
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-param-test.h.pump487
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-printers.h855
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-spi.h232
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-test-part.h179
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest-typed-test.h259
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest.h2291
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest_pred_impl.h358
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/gtest_prod.h58
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-death-test-internal.h319
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-filepath.h206
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-internal.h1158
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-linked_ptr.h233
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-param-util-generated.h5143
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump301
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-param-util.h619
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-port.h1947
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-string.h167
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-tuple.h1012
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-tuple.h.pump339
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-type-util.h3331
-rw-r--r--cpp/thirdparty/gtest-1.7.0/include/gtest/internal/gtest-type-util.h.pump297
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/acx_pthread.m4363
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/gtest.m474
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/libtool.m48001
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/ltoptions.m4384
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/ltsugar.m4123
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/ltversion.m423
-rw-r--r--cpp/thirdparty/gtest-1.7.0/m4/lt~obsolete.m498
-rw-r--r--cpp/thirdparty/gtest-1.7.0/make/Makefile82
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest-md.sln45
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest-md.vcproj126
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest.sln45
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest.vcproj126
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_main-md.vcproj129
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_main.vcproj129
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_prod_test-md.vcproj164
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_prod_test.vcproj164
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_unittest-md.vcproj147
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/msvc/gtest_unittest.vcproj147
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/prime_tables.h123
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample1.cc68
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample1.h43
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample10_unittest.cc144
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample1_unittest.cc153
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample2.cc56
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample2.h85
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample2_unittest.cc109
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample3-inl.h172
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample3_unittest.cc151
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample4.cc46
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample4.h53
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample4_unittest.cc45
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample5_unittest.cc199
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample6_unittest.cc224
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample7_unittest.cc130
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample8_unittest.cc173
-rw-r--r--cpp/thirdparty/gtest-1.7.0/samples/sample9_unittest.cc160
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/scripts/fuse_gtest_files.py250
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/scripts/gen_gtest_pred_impl.py730
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/scripts/gtest-config.in274
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/scripts/pump.py855
-rw-r--r--cpp/thirdparty/gtest-1.7.0/scripts/test/Makefile59
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-all.cc48
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-death-test.cc1344
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-filepath.cc382
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-internal-inl.h1218
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-port.cc805
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-printers.cc363
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-test-part.cc110
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest-typed-test.cc110
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest.cc5015
-rw-r--r--cpp/thirdparty/gtest-1.7.0/src/gtest_main.cc38
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-death-test_ex_test.cc93
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-death-test_test.cc1367
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-filepath_test.cc680
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-linked_ptr_test.cc154
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-listener_test.cc310
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-message_test.cc159
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-options_test.cc215
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-param-test2_test.cc65
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-param-test_test.cc904
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-param-test_test.h57
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-port_test.cc1253
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-printers_test.cc1566
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-test-part_test.cc208
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-tuple_test.cc320
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-typed-test2_test.cc45
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-typed-test_test.cc360
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-typed-test_test.h66
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest-unittest-api_test.cc341
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_all_test.cc47
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_break_on_failure_unittest.py212
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_break_on_failure_unittest_.cc88
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_catch_exceptions_test.py237
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_catch_exceptions_test_.cc311
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_color_test.py130
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_color_test_.cc71
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_env_var_test.py103
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_env_var_test_.cc126
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_environment_test.cc192
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_filter_unittest.py633
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_filter_unittest_.cc140
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_help_test.py172
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_help_test_.cc46
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_list_tests_unittest.py207
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_list_tests_unittest_.cc157
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_main_unittest.cc45
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_no_test_unittest.cc56
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_output_test.py335
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_output_test_.cc1034
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_output_test_golden_lin.txt720
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_pred_impl_unittest.cc2427
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_premature_exit_test.cc141
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_prod_test.cc57
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_repeat_test.cc253
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_shuffle_test.py325
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_shuffle_test_.cc103
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_sole_header_test.cc57
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_stress_test.cc256
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_test_utils.py320
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_throw_on_failure_ex_test.cc92
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_throw_on_failure_test.py171
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_throw_on_failure_test_.cc72
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_uninitialized_test.py70
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_uninitialized_test_.cc43
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_unittest.cc7415
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_xml_outfile1_test_.cc49
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_xml_outfile2_test_.cc49
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_xml_outfiles_test.py132
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_xml_output_unittest.py307
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/gtest_xml_output_unittest_.cc181
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/test/gtest_xml_test_utils.py194
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/production.cc36
-rw-r--r--cpp/thirdparty/gtest-1.7.0/test/production.h55
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/DebugProject.xcconfig30
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/FrameworkTarget.xcconfig17
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/General.xcconfig41
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/ReleaseProject.xcconfig32
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/StaticLibraryTarget.xcconfig18
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Config/TestTarget.xcconfig8
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Resources/Info.plist30
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/Info.plist28
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj457
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/runtests.sh62
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/widget.cc63
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/widget.h59
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Samples/FrameworkSample/widget_test.cc68
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/Scripts/runtests.sh65
-rwxr-xr-xcpp/thirdparty/gtest-1.7.0/xcode/Scripts/versiongenerate.py100
-rw-r--r--cpp/thirdparty/gtest-1.7.0/xcode/gtest.xcodeproj/project.pbxproj1135
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/CHANGES.txt528
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/CONTRIBUTORS.txt90
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/COPYING.txt33
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/INSTALL.txt237
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/Makefile.am225
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/Makefile.in1041
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/README.txt152
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/aclocal.m41020
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/autogen.sh41
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/config.guess1530
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/config.h.in149
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/config.sub1773
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/configure19494
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/configure.ac150
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/depcomp688
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/editors/README.txt5
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/editors/proto.vim105
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/editors/protobuf-mode.el220
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/AddPerson.java95
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/ListPeople.java50
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/Makefile58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/README.txt29
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/add_person.cc95
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/examples/add_person.py58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/addressbook.proto30
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/examples/list_people.cc68
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/examples/list_people.py38
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/generate_descriptor_proto.sh33
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/CHANGES130
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/CMakeLists.txt250
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/CONTRIBUTORS37
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/LICENSE28
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/Makefile.am305
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/Makefile.in1360
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/README434
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/aclocal.m41198
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/build-aux/config.guess1530
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/build-aux/config.h.in69
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/build-aux/config.sub1773
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/build-aux/depcomp688
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/build-aux/install-sh527
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/build-aux/ltmain.sh9661
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/build-aux/missing331
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/cmake/internal_utils.cmake227
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest.cbproj138
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest.groupproj54
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest_all.cc38
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest_link.cc40
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest_main.cbproj82
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/codegear/gtest_unittest.cbproj88
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/configure18222
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/configure.ac68
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/fused-src/gtest/gtest-all.cc9251
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/fused-src/gtest/gtest.h20012
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/fused-src/gtest/gtest_main.cc38
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-death-test.h294
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-message.h230
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-param-test.h1421
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-param-test.h.pump487
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-printers.h855
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-spi.h232
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-test-part.h179
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest-typed-test.h259
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest.h2236
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest_pred_impl.h358
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/gtest_prod.h58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-death-test-internal.h319
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-filepath.h206
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-internal.h1171
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-linked_ptr.h233
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-param-util-generated.h5143
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-param-util-generated.h.pump301
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-param-util.h619
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-port.h1947
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-string.h180
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-tuple.h1012
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-tuple.h.pump339
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-type-util.h3332
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/include/gtest/internal/gtest-type-util.h.pump298
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/acx_pthread.m4363
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/gtest.m474
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/libtool.m48001
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/ltoptions.m4384
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/ltsugar.m4123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/ltversion.m423
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/m4/lt~obsolete.m498
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/make/Makefile80
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest-md.sln45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest-md.vcproj126
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest.sln45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest.vcproj126
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_main-md.vcproj129
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_main.vcproj129
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_prod_test-md.vcproj164
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_prod_test.vcproj164
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_unittest-md.vcproj147
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/msvc/gtest_unittest.vcproj147
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/prime_tables.h123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample1.cc68
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample1.h43
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample10_unittest.cc144
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample1_unittest.cc153
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample2.cc56
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample2.h85
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample2_unittest.cc109
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample3-inl.h172
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample3_unittest.cc151
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample4.cc46
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample4.h53
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample4_unittest.cc45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample5_unittest.cc199
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample6_unittest.cc224
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample7_unittest.cc130
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample8_unittest.cc173
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/samples/sample9_unittest.cc160
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/scripts/fuse_gtest_files.py250
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/scripts/gen_gtest_pred_impl.py730
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/scripts/gtest-config.in274
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/scripts/pump.py855
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/scripts/test/Makefile59
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-all.cc48
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-death-test.cc1341
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-filepath.cc381
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-internal-inl.h1056
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-port.cc805
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-printers.cc364
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-test-part.cc110
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest-typed-test.cc110
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest.cc4838
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/src/gtest_main.cc38
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-death-test_ex_test.cc93
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-death-test_test.cc1368
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-filepath_test.cc680
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-linked_ptr_test.cc154
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-listener_test.cc310
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-message_test.cc159
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-options_test.cc215
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-param-test2_test.cc65
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-param-test_test.cc897
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-param-test_test.h57
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-port_test.cc1253
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-printers_test.cc1561
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-test-part_test.cc208
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-tuple_test.cc320
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-typed-test2_test.cc45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-typed-test_test.cc360
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-typed-test_test.h66
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest-unittest-api_test.cc341
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_all_test.cc47
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_break_on_failure_unittest.py218
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_break_on_failure_unittest_.cc88
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_catch_exceptions_test.py223
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_catch_exceptions_test_.cc311
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_color_test.py130
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_color_test_.cc71
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_env_var_test.py103
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_env_var_test_.cc126
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_environment_test.cc192
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_filter_unittest.py633
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_filter_unittest_.cc140
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_help_test.py172
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_help_test_.cc46
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_list_tests_unittest.py177
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_list_tests_unittest_.cc85
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_main_unittest.cc45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_no_test_unittest.cc56
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_output_test.py335
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_output_test_.cc1034
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_output_test_golden_lin.txt725
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_pred_impl_unittest.cc2427
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_prod_test.cc57
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_repeat_test.cc253
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_shuffle_test.py325
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_shuffle_test_.cc103
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_sole_header_test.cc57
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_stress_test.cc256
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_test_utils.py305
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_throw_on_failure_ex_test.cc92
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_throw_on_failure_test.py171
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_throw_on_failure_test_.cc72
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_uninitialized_test.py70
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_uninitialized_test_.cc43
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_unittest.cc7240
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_outfile1_test_.cc49
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_outfile2_test_.cc49
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_outfiles_test.py132
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_output_unittest.py284
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_output_unittest_.cc177
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/gtest/test/gtest_xml_test_utils.py190
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/production.cc36
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/test/production.h55
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/DebugProject.xcconfig30
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/FrameworkTarget.xcconfig17
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/General.xcconfig41
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/ReleaseProject.xcconfig32
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/StaticLibraryTarget.xcconfig18
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Config/TestTarget.xcconfig8
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Resources/Info.plist30
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/Info.plist28
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj457
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/runtests.sh62
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/widget.cc63
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/widget.h59
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Samples/FrameworkSample/widget_test.cc68
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Scripts/runtests.sh65
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/Scripts/versiongenerate.py100
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/gtest/xcode/gtest.xcodeproj/project.pbxproj1084
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/install-sh527
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/README.txt96
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/pom.xml205
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/AbstractMessage.java930
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/AbstractMessageLite.java343
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/AbstractParser.java261
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/BlockingRpcChannel.java51
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/BlockingService.java64
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/BoundedByteString.java163
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/ByteString.java970
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/CodedInputStream.java920
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/CodedOutputStream.java1111
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Descriptors.java1970
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/DynamicMessage.java482
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/ExtensionRegistry.java266
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java185
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/FieldSet.java861
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/GeneratedMessage.java1939
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java797
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Internal.java153
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java114
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/LazyField.java210
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/LazyStringArrayList.java178
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/LazyStringList.java81
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/LiteralByteString.java349
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Message.java237
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/MessageLite.java319
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/MessageLiteOrBuilder.java60
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/MessageOrBuilder.java129
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Parser.java259
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/ProtocolMessageEnum.java58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java696
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RopeByteString.java943
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RpcCallback.java47
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RpcChannel.java71
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RpcController.java118
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/RpcUtil.java135
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Service.java117
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/ServiceException.java52
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/SingleFieldBuilder.java241
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/SmallSortedMap.java618
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/TextFormat.java1559
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/UninitializedMessageException.java99
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/UnknownFieldSet.java978
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java152
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/Utf8.java349
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/main/java/com/google/protobuf/WireFormat.java163
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/AbstractMessageTest.java509
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java68
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/ByteStringTest.java692
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java528
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/CodedOutputStreamTest.java317
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/DeprecatedFieldTest.java80
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/DescriptorsTest.java648
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/DynamicMessageTest.java264
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/ForceFieldBuildersPreRun.java48
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/GeneratedMessageTest.java1146
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java180
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java421
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java162
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java143
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/LiteTest.java148
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java396
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/MessageTest.java353
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/NestedBuildersTest.java185
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/ParserTest.java375
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/RepeatedFieldBuilderTest.java190
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java97
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/RopeByteStringTest.java115
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/ServiceTest.java320
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/SingleFieldBuilderTest.java155
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/SmallSortedMapTest.java420
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/TestBadIdentifiers.java63
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/TestUtil.java3955
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/TextFormatTest.java786
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java437
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java152
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/WireFormatTest.java580
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/multiple_files_test.proto71
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/nested_builders_test.proto53
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/nested_extension.proto45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/nested_extension_lite.proto48
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/non_nested_extension.proto48
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/non_nested_extension_lite.proto50
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/java/src/test/java/com/google/protobuf/test_bad_identifiers.proto108
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/ltmain.sh9661
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/ac_system_extensions.m437
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/acx_check_suncc.m474
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/acx_pthread.m4397
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/libtool.m48001
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/ltoptions.m4384
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/ltsugar.m4123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/ltversion.m423
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/lt~obsolete.m498
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/m4/stl_hash.m472
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/missing331
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/protobuf-lite.pc.in13
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/protobuf.pc.in14
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/README.txt101
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/ez_setup.py283
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/__init__.py1
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/__init__.py0
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/descriptor.py713
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/descriptor_database.py120
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/descriptor_pool.py527
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/__init__.py0
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/api_implementation.py87
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/containers.py269
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/cpp_message.py663
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/decoder.py720
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/descriptor_database_test.py63
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/descriptor_pool_test.py220
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/descriptor_test.py613
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/encoder.py769
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/enum_type_wrapper.py89
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/factory_test1.proto55
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/factory_test2.proto77
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/generator_test.py269
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/message_cpp_test.py45
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/message_factory_test.py113
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/message_listener.py78
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/message_test.py494
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/more_extensions.proto58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/more_extensions_dynamic.proto49
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/more_messages.proto51
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/python_message.py1150
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/reflection_cpp_generated_test.py91
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/reflection_test.py2671
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/service_reflection_test.py136
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/test_bad_identifiers.proto52
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/test_util.py651
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/text_format_test.py617
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/type_checkers.py286
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/unknown_fields_test.py170
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/wire_format.py268
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/internal/wire_format_test.py253
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/message.py280
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/message_factory.py113
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/pyext/python-proto2.cc1717
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/pyext/python_descriptor.cc337
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/pyext/python_descriptor.h87
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/pyext/python_protobuf.cc63
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/python/google/protobuf/pyext/python_protobuf.h57
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/reflection.py169
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/service.py226
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/service_reflection.py284
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/google/protobuf/text_format.py739
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/mox.py1401
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/setup.py196
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/python/stubout.py140
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/Makefile.am395
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/Makefile.in3121
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/code_generator.cc80
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/code_generator.h142
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/command_line_interface.cc1437
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/command_line_interface.h353
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/command_line_interface_unittest.cc1560
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc158
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_enum.cc258
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_enum.h101
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_enum_field.cc366
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_enum_field.h105
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_extension.cc210
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_extension.h86
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_field.cc142
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_field.h177
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_file.cc652
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_file.h99
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_generator.cc124
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_generator.h72
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_helpers.cc438
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_helpers.h186
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_message.cc2020
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_message.h171
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_message_field.cc298
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_message_field.h104
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_options.h58
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_plugin_unittest.cc121
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc387
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_primitive_field.h105
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_service.cc334
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_service.h119
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_string_field.cc491
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_string_field.h108
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_unittest.cc1354
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/cpp/cpp_unittest.h51
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/importer.cc459
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/importer.h304
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/importer_unittest.cc600
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_doc_comment.cc236
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_doc_comment.h69
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_doc_comment_unittest.cc66
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_enum.cc271
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_enum.h86
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_enum_field.cc603
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_enum_field.h123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_extension.cc218
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_extension.h77
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_field.cc137
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_field.h109
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_file.cc490
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_file.h101
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_generator.cc128
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_generator.h72
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_helpers.cc500
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_helpers.h220
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_message.cc1435
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_message.h112
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_message_field.cc974
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_message_field.h136
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_plugin_unittest.cc122
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_primitive_field.cc787
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_primitive_field.h123
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_service.cc453
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_service.h113
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_string_field.cc726
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/java/java_string_field.h122
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/main.cc61
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/mock_code_generator.cc241
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/mock_code_generator.h117
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/package_info.h64
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/parser.cc1611
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/parser.h477
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/parser_unittest.cc2374
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/plugin.cc163
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/plugin.h72
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/plugin.pb.cc1090
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/plugin.pb.h856
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/plugin.proto147
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/python/python_generator.cc1157
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/python/python_generator.h161
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/python/python_plugin_unittest.cc116
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/subprocess.cc463
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/subprocess.h108
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/test_plugin.cc51
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/zip_output_unittest.sh91
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/zip_writer.cc218
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/compiler/zip_writer.h93
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor.cc4949
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor.h1521
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor.pb.cc8146
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor.pb.h5992
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor.proto620
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor_database.cc541
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor_database.h367
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor_database_unittest.cc748
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/descriptor_unittest.cc4656
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/dynamic_message.cc571
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/dynamic_message.h136
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/dynamic_message_unittest.cc166
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/extension_set.cc1461
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/extension_set.h1007
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/extension_set_heavy.cc711
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/extension_set_unittest.cc726
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_enum_reflection.h85
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_message_reflection.cc1293
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_message_reflection.h419
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_message_reflection_unittest.cc484
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_message_util.cc54
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/generated_message_util.h77
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/coded_stream.cc857
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/coded_stream.h1136
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/coded_stream_inl.h68
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/coded_stream_unittest.cc1191
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/gzip_stream.cc326
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/gzip_stream.h209
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/gzip_stream_unittest.sh44
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/package_info.h54
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/printer.cc198
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/printer.h136
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/printer_unittest.cc285
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/tokenizer.cc1091
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/tokenizer.h384
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/tokenizer_unittest.cc1001
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream.cc48
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream.h238
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream_impl.cc471
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream_impl.h357
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream_impl_lite.cc393
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream_impl_lite.h340
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/io/zero_copy_stream_unittest.cc944
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/lite_unittest.cc185
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/message.cc358
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/message.h837
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/message_lite.cc334
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/message_lite.h246
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/message_unittest.cc354
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/package_info.h64
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/reflection_ops.cc267
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/reflection_ops.h81
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/reflection_ops_unittest.cc405
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/repeated_field.cc87
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/repeated_field.h1519
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/repeated_field_reflection_unittest.cc195
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/repeated_field_unittest.cc1357
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/service.cc46
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/service.h291
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops.h206
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_arm_gcc.h151
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_arm_qnx.h146
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_atomicword_compat.h122
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_macosx.h225
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_mips_gcc.h187
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_pnacl.h73
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc137
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h293
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc112
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_x86_msvc.h150
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/common.cc395
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/common.h1223
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/common_unittest.cc357
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/hash.h232
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/map-util.h143
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/once.cc99
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/once.h148
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/once_unittest.cc253
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/platform_macros.h70
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/stl_util.h121
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/stringprintf.cc175
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/stringprintf.h76
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/stringprintf_unittest.cc152
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/structurally_valid.cc536
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/structurally_valid_unittest.cc40
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/strutil.cc1211
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/strutil.h467
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/strutil_unittest.cc83
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/substitute.cc134
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/substitute.h170
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/template_util.h138
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/template_util_unittest.cc130
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/type_traits.h336
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/stubs/type_traits_unittest.cc628
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/test_util.cc3047
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/test_util.h193
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/test_util_lite.cc1548
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/test_util_lite.h101
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testdata/golden_messagebin0 -> 509 bytes
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testdata/golden_packed_fields_messagebin0 -> 142 bytes
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testdata/text_format_unittest_data.txt128
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testdata/text_format_unittest_extensions_data.txt128
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/file.cc176
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/file.h83
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/googletest.cc255
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/googletest.h102
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/zcgunzip.cc73
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/testing/zcgzip.cc79
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/text_format.cc1521
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/text_format.h369
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/text_format_unittest.cc1248
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest.proto719
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_custom_options.proto387
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_embed_optimize_for.proto50
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_empty.proto37
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_enormous_descriptor.proto1046
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_import.proto64
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_import_lite.proto51
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_import_public.proto40
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_import_public_lite.proto42
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_lite.proto360
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_lite_imports_nonlite.proto43
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_mset.proto72
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_no_generic_services.proto52
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unittest_optimize_for.proto61
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unknown_field_set.cc266
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unknown_field_set.h311
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/unknown_field_set_unittest.cc594
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format.cc1063
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format.h308
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format_lite.cc361
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format_lite.h622
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format_lite_inl.h776
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/google/protobuf/wire_format_unittest.cc978
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/src/solaris/libstdc++.la51
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/config.h29
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/vsprojects/convert2008to2005.sh20
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/vsprojects/extract_includes.bat49
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/libprotobuf-lite.vcproj302
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/libprotobuf.vcproj462
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/libprotoc.vcproj426
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/lite-test.vcproj305
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/protobuf.sln92
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/protoc.vcproj192
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/readme.txt114
-rwxr-xr-xcpp/thirdparty/protobuf-2.5.0/vsprojects/test_plugin.vcproj209
-rw-r--r--cpp/thirdparty/protobuf-2.5.0/vsprojects/tests.vcproj681
-rw-r--r--cpp/valgrind.supp328
-rwxr-xr-xetc/init.d/generate_initd_scripts.sh37
-rw-r--r--etc/init.d/xtreemfs-service.template161
-rw-r--r--etc/xos/xtreemfs/datacentermap.example7
-rw-r--r--etc/xos/xtreemfs/default_dir9
-rw-r--r--etc/xos/xtreemfs/dirconfig.properties154
-rw-r--r--etc/xos/xtreemfs/mrcconfig.properties190
-rw-r--r--etc/xos/xtreemfs/osdconfig.properties130
-rw-r--r--etc/xos/xtreemfs/snmp.acl38
-rw-r--r--interface/Makefile57
-rw-r--r--interface/include/Common.proto44
-rw-r--r--interface/include/PBRPC.proto49
-rw-r--r--interface/pbrpc/Ping.proto77
-rw-r--r--interface/pbrpc/RPC.proto167
-rw-r--r--interface/xtreemfs/DIR.proto281
-rw-r--r--interface/xtreemfs/GlobalTypes.proto288
-rw-r--r--interface/xtreemfs/MRC.proto823
-rw-r--r--interface/xtreemfs/OSD.proto582
-rw-r--r--java/flease/build-1.6.5.xml75
-rw-r--r--java/flease/build.xml75
-rw-r--r--java/flease/eclipse-project/.classpath10
-rw-r--r--java/flease/eclipse-project/.project18
-rw-r--r--java/flease/manifest.mf3
-rw-r--r--java/flease/nbproject/build-impl-1.6.5.xml892
-rw-r--r--java/flease/nbproject/build-impl.xml1054
-rw-r--r--java/flease/nbproject/genfiles.properties11
-rw-r--r--java/flease/nbproject/private/config.properties0
-rw-r--r--java/flease/nbproject/private/private.properties6
-rw-r--r--java/flease/nbproject/private/private.xml5
-rw-r--r--java/flease/nbproject/private/profiler/configurations.xml141
-rw-r--r--java/flease/nbproject/profiler-build-impl.xml131
-rw-r--r--java/flease/nbproject/project.properties73
-rw-r--r--java/flease/nbproject/project.xml24
-rw-r--r--java/flease/nbproject/protobuf-build.cfg.xml2
-rw-r--r--java/flease/nbproject/protobuf-build.xml24
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/Flease.java93
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseConfig.java191
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseFuture.java59
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseMessageSenderInterface.java22
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseStage.java691
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseStats.java122
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseStatusListener.java22
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/FleaseViewChangeListenerInterface.java21
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/MasterEpochHandlerInterface.java25
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/SimpleMasterEpochHandler.java145
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/UDPFleaseCommunicator.java270
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/acceptor/FleaseAcceptor.java412
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/acceptor/FleaseAcceptorCell.java147
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/acceptor/FleaseInstance.java114
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/acceptor/LearnEventListener.java20
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/FleaseCommunicationInterface.java23
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/FleaseMessage.java460
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/ProposalNumber.java98
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/EchoClient.java97
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/EchoServer.java107
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/NIOConnection.java63
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/NIOServer.java51
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/TCPClient.java250
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/TCPCommunicator.java557
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/TCPConnection.java140
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/comm/tcp/TCPFleaseCommunicator.java234
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/CellAction.java131
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/FleaseException.java32
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/FleaseListener.java21
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/FleaseLocalQueueInterface.java19
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/FleaseProposer.java1197
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/proposer/FleaseProposerCell.java331
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/sim/Communicator.java311
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/sim/DelayedDelivery.java224
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/sim/FleaseMultiSim.java231
-rw-r--r--java/flease/src/org/xtreemfs/foundation/flease/sim/FleaseSim.java223
-rw-r--r--java/flease/test/org/xtreemfs/foundation/flease/FleaseStageTest.java231
-rw-r--r--java/flease/test/org/xtreemfs/foundation/flease/MasterEpochTest.java280
-rw-r--r--java/flease/test/org/xtreemfs/foundation/flease/acceptor/FleaseAcceptorTest.java164
-rw-r--r--java/flease/test/org/xtreemfs/foundation/flease/comm/FleaseMessageTest.java80
-rw-r--r--java/flease/test/org/xtreemfs/foundation/flease/proposer/FleaseProposerTest.java328
-rw-r--r--java/foundation/build-1.6.5.xml75
-rw-r--r--java/foundation/build-before-profiler.xml74
-rw-r--r--java/foundation/build.xml89
-rw-r--r--java/foundation/eclipse-project/.classpath11
-rw-r--r--java/foundation/eclipse-project/.project17
-rw-r--r--java/foundation/nbproject/build-impl-1.6.5.xml682
-rw-r--r--java/foundation/nbproject/build-impl.xml687
-rw-r--r--java/foundation/nbproject/genfiles.properties11
-rw-r--r--java/foundation/nbproject/profiler-build-impl.xml131
-rw-r--r--java/foundation/nbproject/project.properties82
-rw-r--r--java/foundation/nbproject/project.xml22
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/ClientLease.java154
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/CrashReporter.java102
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/LRUCache.java33
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/LifeCycleListener.java25
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/LifeCycleThread.java167
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/SSLOptions.java407
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/TimeServerClient.java32
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/TimeSync.java464
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/VersionManagement.java43
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/buffer/ASCIIString.java107
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/buffer/BufferPool.java324
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/buffer/ReusableBuffer.java724
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/ChecksumAlgorithm.java56
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/ChecksumFactory.java150
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/ChecksumProvider.java57
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/StringChecksumAlgorithm.java26
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/algorithms/Adler32.java34
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/algorithms/CRC32.java34
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/algorithms/JavaChecksumAlgorithm.java99
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/algorithms/JavaHash.java104
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/algorithms/SDBM.java117
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/checksums/provider/JavaChecksumProvider.java53
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/json/JSONCharBufferString.java59
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/json/JSONException.java38
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/json/JSONInput.java46
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/json/JSONParser.java329
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/json/JSONString.java81
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/logging/Logging.java274
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/logging/Utils.java39
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/ListMonitoring.java20
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/Monitoring.java164
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/MonitoringEvent.java55
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/MonitoringListener.java48
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/MonitoringLog.java50
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/monitoring/NumberMonitoring.java187
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/Schemes.java34
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/channels/ChannelIO.java153
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/channels/SSLChannelIO.java768
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/channels/SSLHandshakeOnlyChannelIO.java647
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/PBRPCException.java86
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCAuthentication.java30
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCClientConnection.java230
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCClientRequest.java182
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCNIOSocketClient.java806
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCResponse.java160
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCResponseAvailableListener.java23
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/client/RPCResponseListener.java24
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/PBRPC.java98
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/Ping.java2991
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/PingServiceClient.java56
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/PingServiceConstants.java32
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/RPC.java6305
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCNIOSocketServer.java787
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCNIOSocketServerConnection.java235
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCServerConnectionInterface.java28
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCServerInterface.java19
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCServerRequest.java132
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCServerRequestListener.java19
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCServerResponse.java84
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/RPCUDPSocketServer.java255
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/server/UDPMessage.java61
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/utils/ErrorUtils.java50
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/utils/PBRPCDatagramPacket.java72
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/utils/RecordMarker.java73
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/utils/ReusableBufferInputStream.java46
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/pbrpc/utils/ReusableBufferOutputStream.java111
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/trace/Tracer.java110
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/CLIParser.java137
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/CLOption.java212
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/CLOptionParser.java130
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/FSUtils.java132
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/InvalidUsageException.java47
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/OutputUtils.java264
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/PBRPCServiceURL.java82
-rw-r--r--java/foundation/src/org/xtreemfs/foundation/util/PingServer.java91
-rw-r--r--java/foundation/test/org/xtreemfs/foundation/buffer/BufferPoolTest.java155
-rw-r--r--java/foundation/test/org/xtreemfs/foundation/buffer/ReusableBufferTest.java176
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/checksums/ChecksumFactoryTest.java261
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/checksums/StringChecksumAlgorithmTest.java71
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/pbrpc/PBRPCClientServerTest.java363
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/pbrpc/PBRPCDatagramPacketTest.java66
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/pbrpc/PBRPCTest.java255
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/pbrpc/RPCNIOSocketServerTest.java377
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/pbrpc/RPCUDPSocketServerTest.java96
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/util/OutputUtilsTest.java65
-rw-r--r--java/foundation/test/org/xtreemfs/test/foundation/util/PBRPCServiceURLTest.java56
-rwxr-xr-xjava/init_eclipse_projects_linux.sh25
-rw-r--r--java/init_eclipse_projects_windows.bat22
-rw-r--r--java/lib/BabuDB.jarbin0 -> 701320 bytes
-rw-r--r--java/lib/commons-codec-1.3.jarbin0 -> 46725 bytes
-rw-r--r--java/lib/jdmkrt.jarbin0 -> 2549806 bytes
-rw-r--r--java/lib/jdmktk.jarbin0 -> 679104 bytes
-rw-r--r--java/lib/protobuf-java-2.5.0.jarbin0 -> 532453 bytes
-rw-r--r--java/lib/test/commons-httpclient-3.0.1-contrib.jarbin0 -> 23437 bytes
-rw-r--r--java/lib/test/commons-httpclient-3.0.1.jarbin0 -> 279781 bytes
-rw-r--r--java/lib/test/commons-logging-1.1.jarbin0 -> 52915 bytes
-rw-r--r--java/lib/test/hamcrest-core-1.3.jarbin0 -> 45024 bytes
-rw-r--r--java/lib/test/junit-4.11.jarbin0 -> 245039 bytes
-rw-r--r--java/pbrpcgen/build.xml74
-rw-r--r--java/pbrpcgen/eclipse-project/.classpath7
-rw-r--r--java/pbrpcgen/eclipse-project/.project17
-rw-r--r--java/pbrpcgen/manifest.mf3
-rw-r--r--java/pbrpcgen/nbproject/build-impl.xml1040
-rw-r--r--java/pbrpcgen/nbproject/genfiles.properties8
-rw-r--r--java/pbrpcgen/nbproject/private/private.properties6
-rw-r--r--java/pbrpcgen/nbproject/private/private.xml3
-rw-r--r--java/pbrpcgen/nbproject/project.properties76
-rw-r--r--java/pbrpcgen/nbproject/project.xml15
-rw-r--r--java/pbrpcgen/src/com/google/protobuf/compiler/PluginProtos.java4121
-rw-r--r--java/pbrpcgen/src/org/xtreemfs/foundation/pbrpc/generatedinterfaces/PBRPC.java98
-rw-r--r--java/pbrpcgen/src/org/xtreemfs/pbrpcgen/RPCCPPSourceGenerator.java586
-rw-r--r--java/pbrpcgen/src/org/xtreemfs/pbrpcgen/RPCSourceGenerator.java424
-rw-r--r--java/servers/build-1.6.5.xml85
-rw-r--r--java/servers/build-before-profiler.xml74
-rw-r--r--java/servers/build.xml85
-rw-r--r--java/servers/eclipse-project/.classpath19
-rw-r--r--java/servers/eclipse-project/.classpath_WITH_BabuDB_project_reference18
-rw-r--r--java/servers/eclipse-project/.project19
-rw-r--r--java/servers/nbproject/build-impl-1.6.5.xml682
-rw-r--r--java/servers/nbproject/build-impl.xml1068
-rw-r--r--java/servers/nbproject/genfiles.properties11
-rw-r--r--java/servers/nbproject/profiler-build-impl.xml131
-rw-r--r--java/servers/nbproject/project.properties101
-rw-r--r--java/servers/nbproject/project.xml33
-rw-r--r--java/servers/src/org/xtreemfs/common/Capability.java201
-rw-r--r--java/servers/src/org/xtreemfs/common/GlobalConstants.java26
-rw-r--r--java/servers/src/org/xtreemfs/common/HeartbeatThread.java623
-rw-r--r--java/servers/src/org/xtreemfs/common/KeyValuePairs.java60
-rw-r--r--java/servers/src/org/xtreemfs/common/ReplicaUpdatePolicies.java33
-rwxr-xr-xjava/servers/src/org/xtreemfs/common/ServiceAvailability.java174
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/AuthenticationException.java25
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/AuthenticationProvider.java45
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/FederationIdX509AuthProvider.java200
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/NullAuthProvider.java32
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/SimpleX509AuthProvider.java111
-rw-r--r--java/servers/src/org/xtreemfs/common/auth/UserCredentials.java53
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/AbstractBenchmark.java97
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/BenchmarkConfig.java857
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/BenchmarkFactory.java50
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/BenchmarkFailedException.java70
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/BenchmarkResult.java145
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/BenchmarkUtils.java29
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/ClientManager.java65
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/Controller.java326
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/FilebasedBenchmark.java33
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/FilebasedReadBenchmark.java70
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/FilebasedWriteBenchmark.java74
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/RandomOffsetbasedBenchmark.java112
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/RandomReadBenchmark.java47
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/RandomWriteBenchmark.java54
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/SequentialBenchmark.java37
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/SequentialReadBenchmark.java61
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/SequentialWriteBenchmark.java74
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/UnalignedSequentialWriteBenchmark.java61
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/UncaughtExceptionHandlerBenchmark.java50
-rw-r--r--java/servers/src/org/xtreemfs/common/benchmark/VolumeManager.java455
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/CachedXAttr.java50
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/Client.java268
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/File.java555
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/InvalidChecksumException.java23
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/RandomAccessFile.java716
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/Replica.java182
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/Volume.java885
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/internal/ObjectMapper.java99
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/internal/OpenFileList.java226
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/internal/RAID0ObjectMapper.java89
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/io/ByteMapper.java34
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/io/ByteMapperFactory.java21
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/io/ByteMapperRAID0.java152
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/io/ObjectStore.java33
-rw-r--r--java/servers/src/org/xtreemfs/common/clients/io/RandomAccessFile.java970
-rw-r--r--java/servers/src/org/xtreemfs/common/config/Config.java171
-rw-r--r--java/servers/src/org/xtreemfs/common/config/PolicyClassLoader.java444
-rw-r--r--java/servers/src/org/xtreemfs/common/config/PolicyContainer.java66
-rw-r--r--java/servers/src/org/xtreemfs/common/config/RemoteConfigHelper.java83
-rw-r--r--java/servers/src/org/xtreemfs/common/config/ServiceConfig.java786
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/AdminClient.java161
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/AdminFileHandle.java132
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/AdminVolume.java82
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/AsyncWriteBuffer.java110
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/AsyncWriteHandler.java349
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/Client.java333
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/ClientFactory.java91
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/ClientImplementation.java1037
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/FileHandle.java306
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/FileHandleImplementation.java1380
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/FileInfo.java667
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/Helper.java333
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/MetadataCache.java1074
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/MetadataCacheEntry.java100
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/Options.java272
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/PeriodicFileSizeUpdateThread.java69
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/PeriodicXcapRenewalThread.java69
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/RPCCaller.java314
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/ReadOperation.java59
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/StripeTranslator.java40
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/StripeTranslatorRaid0.java53
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/Tupel.java32
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/UUIDIterator.java190
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/UUIDResolver.java48
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/Volume.java788
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/VolumeImplementation.java1776
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/WriteOperation.java58
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/AddressToUUIDNotFoundException.java14
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/InternalServerErrorException.java26
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/InvalidChecksumException.java17
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/InvalidViewException.java23
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/PosixErrorException.java32
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/UUIDIteratorListIsEmpyException.java19
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/UUIDNotInXlocSetException.java24
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/VolumeNotFoundException.java24
-rw-r--r--java/servers/src/org/xtreemfs/common/libxtreemfs/exceptions/XtreemFSException.java28
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/DirImpl.java101
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/GeneralImpl.java223
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/MrcImpl.java69
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/OsdImpl.java204
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/StatusMonitor.java423
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/XTREEMFS_MIBImpl.java81
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/Dir.java69
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/DirMBean.java27
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/DirMeta.java247
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/General.java212
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/GeneralMBean.java82
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/GeneralMeta.java423
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/Mrc.java56
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/MrcMBean.java22
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/MrcMeta.java232
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/Osd.java199
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/OsdMBean.java77
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/OsdMeta.java411
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/XTREEMFS_MIB.java526
-rw-r--r--java/servers/src/org/xtreemfs/common/monitoring/generatedcode/XTREEMFS_MIBOidTable.java62
-rw-r--r--java/servers/src/org/xtreemfs/common/statusserver/BabuDBStatusPage.java87
-rw-r--r--java/servers/src/org/xtreemfs/common/statusserver/PrintStackTrace.java53
-rw-r--r--java/servers/src/org/xtreemfs/common/statusserver/StatusServer.java155
-rw-r--r--java/servers/src/org/xtreemfs/common/statusserver/StatusServerHelper.java116
-rw-r--r--java/servers/src/org/xtreemfs/common/statusserver/StatusServerModule.java69
-rw-r--r--java/servers/src/org/xtreemfs/common/util/NetUtils.java197
-rw-r--r--java/servers/src/org/xtreemfs/common/uuids/Mapping.java33
-rw-r--r--java/servers/src/org/xtreemfs/common/uuids/ServiceUUID.java197
-rw-r--r--java/servers/src/org/xtreemfs/common/uuids/UUIDCacheEntry.java95
-rw-r--r--java/servers/src/org/xtreemfs/common/uuids/UUIDResolver.java376
-rw-r--r--java/servers/src/org/xtreemfs/common/uuids/UnknownUUIDException.java23
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/InvalidXLocationsException.java21
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/RAID0Impl.java111
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/Replica.java160
-rwxr-xr-xjava/servers/src/org/xtreemfs/common/xloc/ReplicationFlags.java104
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/ReplicationPolicyImplementation.java38
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/StripingPolicyImpl.java124
-rw-r--r--java/servers/src/org/xtreemfs/common/xloc/XLocations.java137
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIR.java86
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIRClient.java463
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIRConfig.java171
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIRRequest.java107
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIRRequestDispatcher.java597
-rw-r--r--java/servers/src/org/xtreemfs/dir/DIRStatusListener.java28
-rw-r--r--java/servers/src/org/xtreemfs/dir/MonitoringThread.java141
-rw-r--r--java/servers/src/org/xtreemfs/dir/ReplicaStatusPage.java154
-rw-r--r--java/servers/src/org/xtreemfs/dir/StatusPage.java394
-rw-r--r--java/servers/src/org/xtreemfs/dir/VivaldiClientMap.java106
-rw-r--r--java/servers/src/org/xtreemfs/dir/VivaldiStatusPage.java191
-rw-r--r--java/servers/src/org/xtreemfs/dir/data/AddressMappingRecord.java154
-rw-r--r--java/servers/src/org/xtreemfs/dir/data/AddressMappingRecords.java97
-rw-r--r--java/servers/src/org/xtreemfs/dir/data/ConfigurationRecord.java123
-rw-r--r--java/servers/src/org/xtreemfs/dir/data/ServiceRecord.java203
-rw-r--r--java/servers/src/org/xtreemfs/dir/data/ServiceRecords.java101
-rw-r--r--java/servers/src/org/xtreemfs/dir/discovery/DiscoveryMsgThread.java104
-rw-r--r--java/servers/src/org/xtreemfs/dir/discovery/DiscoveryUtils.java111
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/DIROperation.java199
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/DeleteAddressMappingOperation.java76
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/DeregisterServiceOperation.java79
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetAddressMappingOperation.java108
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetConfigurationOperation.java75
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetGlobalTimeOperation.java58
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetServiceByNameOperation.java95
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetServiceByUuidOperation.java83
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/GetServicesByTypeOperation.java98
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/RegisterServiceOperation.java171
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/ServiceOfflineOperation.java89
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/SetAddressMappingOperation.java133
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/SetConfigurationOperation.java141
-rw-r--r--java/servers/src/org/xtreemfs/dir/operations/UpdateVivaldiClientOperation.java63
-rw-r--r--java/servers/src/org/xtreemfs/dir/templates/d3.js4762
-rw-r--r--java/servers/src/org/xtreemfs/dir/templates/d3.v3.js8580
-rw-r--r--java/servers/src/org/xtreemfs/dir/templates/replica_status.html383
-rw-r--r--java/servers/src/org/xtreemfs/dir/templates/status.html138
-rw-r--r--java/servers/src/org/xtreemfs/dir/templates/vivaldi.html540
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ErrorRecord.java82
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRC.java107
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCConfig.java153
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCException.java25
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCPolicyContainer.java148
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCRequest.java115
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCRequestDispatcher.java952
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCStatusListener.java24
-rw-r--r--java/servers/src/org/xtreemfs/mrc/MRCStatusManager.java187
-rw-r--r--java/servers/src/org/xtreemfs/mrc/RequestDetails.java42
-rw-r--r--java/servers/src/org/xtreemfs/mrc/StatusPage.java129
-rw-r--r--java/servers/src/org/xtreemfs/mrc/UserException.java42
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ac/FileAccessManager.java184
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ac/FileAccessPolicy.java237
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ac/POSIXFileAccessPolicy.java688
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ac/VolumeACLFileAccessPolicy.java124
-rw-r--r--java/servers/src/org/xtreemfs/mrc/ac/YesToAnyoneFileAccessPolicy.java97
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/AtomicDBUpdate.java34
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/DBAccessResultListener.java16
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/DatabaseException.java52
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/DatabaseResultSet.java27
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/ReplicationManager.java28
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/StorageManager.java152
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/VolumeChangeListener.java21
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/VolumeInfo.java154
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/VolumeManager.java226
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/AtomicBabuDBSnapshotUpdate.java39
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/AtomicBabuDBUpdate.java139
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBRequestListenerWrapper.java44
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBSnapshotStorageManager.java580
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBSnapshotVolumeInfo.java148
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBStorageHelper.java592
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBStorageManager.java1070
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBVolumeInfo.java221
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/BabuDBVolumeManager.java594
-rw-r--r--java/servers/src/org/xtreemfs/mrc/database/babudb/TransactionalBabuDBUpdate.java75
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/ACLEntry.java17
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedACLEntry.java58
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedFileMetadata.java349
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedIndexMetadata.java66
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedMetadata.java71
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedRCMetadata.java270
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedStripingPolicy.java74
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedXAttr.java77
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedXLoc.java141
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/BufferBackedXLocList.java149
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/FileMetadata.java77
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/ReplicationPolicy.java38
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/StripingPolicy.java40
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/XAttr.java22
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/XLoc.java54
-rw-r--r--java/servers/src/org/xtreemfs/mrc/metadata/XLocList.java57
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/AccessOperation.java82
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/AddReplicaOperation.java213
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CheckFileListOperation.java97
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CheckpointOperation.java54
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CreateDirOperation.java99
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CreateLinkOperation.java109
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CreateSymLinkOperation.java92
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/CreateVolumeOperation.java187
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/DeleteOperation.java155
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/DeleteVolumeOperation.java102
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/DumpDBOperation.java137
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/FSetAttrOperation.java117
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetFileCredentialsOperation.java91
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetLocalVolumesOperation.java79
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetSuitableOSDsOperation.java102
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetXAttrOperation.java85
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetXAttrsOperation.java127
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetXLocListOperation.java103
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/GetXLocSetOperation.java120
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/InternalDebugOperation.java90
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/MRCOperation.java151
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/MoveOperation.java339
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/OpenOperation.java352
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/ReadDirAndStatOperation.java216
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/ReadLinkOperation.java71
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/RemoveReplicaOperation.java266
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/RemoveXAttrOperation.java94
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/RenewOperation.java61
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/RestoreDBOperation.java183
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/RestoreFileOperation.java117
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/SetReadOnlyXattrOperation.java88
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/SetReplicaUpdatePolicyOperation.java133
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/SetXAttrOperation.java116
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/SetattrOperation.java236
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/ShutdownOperation.java45
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/StatFSOperation.java97
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/StatOperation.java105
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/TruncateOperation.java99
-rw-r--r--java/servers/src/org/xtreemfs/mrc/operations/UpdateFileSizeOperation.java257
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/DCMapPolicyBase.java194
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/FQDNPolicyBase.java70
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/FilterDefaultPolicy.java217
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/FilterFQDNPolicy.java114
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/FilterUUIDPolicy.java98
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/GroupDCMapPolicy.java141
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/GroupFQDNPolicy.java129
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/Inet4AddressMatcher.java65
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/InetAddressMatcher.java21
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/OSDSelectionPolicy.java66
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/OSDStatusManager.java348
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/PolicyHelper.java85
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortDCMapPolicy.java85
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortFQDNPolicy.java72
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortHostRoundRobinPolicy.java66
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortRandomPolicy.java49
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortReversePolicy.java44
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortUUIDPolicy.java55
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/SortVivaldiPolicy.java115
-rw-r--r--java/servers/src/org/xtreemfs/mrc/osdselection/VolumeOSDFilter.java257
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/InternalCallbackInterface.java19
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/InternalCallbackMRCRequest.java39
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/MRCStage.java182
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/MRCStageCallbackInterface.java18
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/OnCloseReplicationThread.java127
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/ProcessingStage.java378
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/XLocSetCoordinator.java866
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/XLocSetCoordinatorCallback.java21
-rw-r--r--java/servers/src/org/xtreemfs/mrc/stages/XLocSetLock.java33
-rw-r--r--java/servers/src/org/xtreemfs/mrc/templates/status.html148
-rw-r--r--java/servers/src/org/xtreemfs/mrc/utils/Converter.java510
-rw-r--r--java/servers/src/org/xtreemfs/mrc/utils/DBAdminHelper.java459
-rw-r--r--java/servers/src/org/xtreemfs/mrc/utils/MRCHelper.java917
-rw-r--r--java/servers/src/org/xtreemfs/mrc/utils/Path.java149
-rw-r--r--java/servers/src/org/xtreemfs/mrc/utils/PathResolver.java107
-rw-r--r--java/servers/src/org/xtreemfs/osd/AdvisoryLock.java100
-rw-r--r--java/servers/src/org/xtreemfs/osd/ErrorCodes.java85
-rw-r--r--java/servers/src/org/xtreemfs/osd/InternalObjectData.java52
-rw-r--r--java/servers/src/org/xtreemfs/osd/LocationsCache.java68
-rw-r--r--java/servers/src/org/xtreemfs/osd/OSD.java100
-rw-r--r--java/servers/src/org/xtreemfs/osd/OSDConfig.java294
-rw-r--r--java/servers/src/org/xtreemfs/osd/OSDRequest.java239
-rw-r--r--java/servers/src/org/xtreemfs/osd/OSDRequestDispatcher.java1090
-rw-r--r--java/servers/src/org/xtreemfs/osd/OSDStatusListener.java32
-rw-r--r--java/servers/src/org/xtreemfs/osd/OpenFileTable.java504
-rw-r--r--java/servers/src/org/xtreemfs/osd/ReplicatedFileStatusJSON.java92
-rw-r--r--java/servers/src/org/xtreemfs/osd/ReplicatedFileStatusPage.java108
-rw-r--r--java/servers/src/org/xtreemfs/osd/StatusPage.java285
-rw-r--r--java/servers/src/org/xtreemfs/osd/drain/OSDDrain.java1382
-rw-r--r--java/servers/src/org/xtreemfs/osd/drain/OSDDrainException.java109
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CheckObjectOperation.java196
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupGetResultsOperation.java65
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupGetStatusOperation.java64
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupIsRunningOperation.java64
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupStartOperation.java67
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupStopOperation.java62
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/CleanupVersionsStartOperation.java63
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/DeleteOperation.java209
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventCloseFile.java149
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventCreateFileVersion.java67
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventGmax.java71
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventInsertPaddingObject.java81
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventPingFile.java55
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/EventRWRStatus.java66
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/operations/EventWriteObject.java84
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/FleaseMessageOperation.java63
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/GetFileIDListOperation.java96
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/operations/GetObjectSetOperation.java111
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalGetFileSizeOperation.java209
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalGetGmaxOperation.java95
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRAuthStateInvalidatedOperation.java147
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRAuthStateOperation.java108
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRFetchOperation.java115
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRStatusOperation.java104
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRTruncateOperation.java137
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalRWRUpdateOperation.java135
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InternalTruncateOperation.java107
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/InvalidateXLocSetOperation.java133
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/KeepFileOpenOperation.java92
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/operations/LocalReadOperation.java187
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/LockAcquireOperation.java108
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/LockCheckOperation.java100
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/LockReleaseOperation.java106
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/OSDOperation.java117
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/RWRNotifyOperation.java113
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/ReadOperation.java348
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/RepairObjectOperation.java104
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/RequestTimeHelper.java50
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/ShutdownOperation.java73
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/TruncateOperation.java260
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/VivaldiPingOperation.java102
-rw-r--r--java/servers/src/org/xtreemfs/osd/operations/WriteOperation.java228
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/ObjectDissemination.java365
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/ObjectSet.java386
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/ReplicatingFile.java893
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/ObjectSetOSDSelection.java48
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/RandomOSDSelection.java29
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/RandomObjectSelection.java29
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/RarestFirstObjectSelection.java176
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/RoundRobinOSDSelection.java91
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/selection/SequentialObjectSelection.java61
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/MasqueradingTransferStrategy.java268
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/RandomStrategy.java74
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/RandomStrategyWithoutObjectSets.java73
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/RarestFirstStrategy.java73
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/SequentialPrefetchingStrategy.java116
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/SequentialStrategy.java85
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/replication/transferStrategies/TransferStrategy.java248
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/CoordinatedReplicaUpdatePolicy.java503
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/FleaseMasterEpochThread.java81
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/ObjectFetchRecord.java116
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/RWReplicationStage.java1532
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/RedirectToMasterException.java28
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/ReplicaUpdatePolicy.java185
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/ReplicatedFileState.java373
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/RetryException.java20
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/WaR1UpdatePolicy.java40
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/WaRaUpdatePolicy.java45
-rw-r--r--java/servers/src/org/xtreemfs/osd/rwre/WqRqUpdatePolicy.java44
-rw-r--r--java/servers/src/org/xtreemfs/osd/stages/DeletionStage.java219
-rw-r--r--java/servers/src/org/xtreemfs/osd/stages/PreprocStage.java851
-rwxr-xr-xjava/servers/src/org/xtreemfs/osd/stages/ReplicationStage.java217
-rw-r--r--java/servers/src/org/xtreemfs/osd/stages/Stage.java226
-rw-r--r--java/servers/src/org/xtreemfs/osd/stages/StorageStage.java294
-rw-r--r--java/servers/src/org/xtreemfs/osd/stages/VivaldiStage.java870
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/CleanupThread.java573
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/CleanupVersionsThread.java332
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/CowPolicy.java138
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/FileMetadata.java207
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/HashStorageLayout.java1436
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/MetadataCache.java39
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/ObjectInformation.java205
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/RealSingleFileStorageLayout.java535
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/SingleFileStorageLayout.java529
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/StorageLayout.java506
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/StorageThread.java1022
-rw-r--r--java/servers/src/org/xtreemfs/osd/storage/VersionTable.java308
-rw-r--r--java/servers/src/org/xtreemfs/osd/templates/status.html172
-rw-r--r--java/servers/src/org/xtreemfs/osd/vivaldi/VivaldiNode.java266
-rw-r--r--java/servers/src/org/xtreemfs/osd/vivaldi/ZipfGenerator.java102
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/Common.java699
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/DIR.java13773
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/DIRServiceClient.java238
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/DIRServiceConstants.java74
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/GlobalTypes.java10943
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/MRC.java48656
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/MRCServiceClient.java563
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/MRCServiceConstants.java149
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/OSD.java33462
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/OSDServiceClient.java485
-rw-r--r--java/servers/src/org/xtreemfs/pbrpc/generatedinterfaces/OSDServiceConstants.java131
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/BenchmarkStorageLayouts.java139
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/CleanupDemoVolume.java204
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/DBViewer.java83
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/DemoScrubber.java421
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/DemoScrubberFileInfo.java74
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/ExampleLibxtreemfsWithSSL.java142
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/LocalX509AuthProvider.java110
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/ThroughputTest.java248
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/ThroughputTest.properties29
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/compile-DirectIOReader.txt9
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/dir_replication_test.java713
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/mrc_replication_test.java530
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/sliceTest.java47
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/CreateConfig.java60
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/FcntlLockTest.java14
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/JavaClientTest.java99
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/MRCStressTest.java115
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/OSDTestClient.java466
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/ReplicatedTortureXtreemFS.java378
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/TortureLocalFS.java232
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/TortureXtreemFS.java330
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/tests/rwrepl_test.java205
-rw-r--r--java/servers/src/org/xtreemfs/sandbox/writeTruncTest.java63
-rw-r--r--java/servers/src/org/xtreemfs/utils/DefaultDirConfig.java110
-rw-r--r--java/servers/src/org/xtreemfs/utils/discover_dir.java31
-rw-r--r--java/servers/src/org/xtreemfs/utils/utils.java215
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_benchmark/CLIOptions.java487
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_benchmark/UncaughtExceptionHandlerBenchmark.java40
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_benchmark/xtfs_benchmark.java189
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_chstatus.java219
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_cleanup_osd.java276
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_mrcdbtool.java191
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_remove_osd.java339
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_scrub/FileScrubber.java341
-rw-r--r--java/servers/src/org/xtreemfs/utils/xtfs_scrub/xtfs_scrub.java496
-rw-r--r--java/servers/test/org/xtreemfs/common/clients/ClientTest.java207
-rw-r--r--java/servers/test/org/xtreemfs/common/clients/ReplicatedClientTest.java126
-rw-r--r--java/servers/test/org/xtreemfs/common/clients/internal/RAID0ObjectMapperTest.java158
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/ClientTest.java382
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/FileHandleTest.java846
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/FileSizeUpdateThreadTest.java131
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/MetadataCacheTest.java801
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/RPCCallerTest.java200
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/ReadOnlyReplicationTest.java163
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/StripeTranslatorTest.java96
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/UUIDIteratorTest.java128
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/UUIDResolverTest.java140
-rw-r--r--java/servers/test/org/xtreemfs/common/libxtreemfs/VolumeTest.java990
-rw-r--r--java/servers/test/org/xtreemfs/common/statusserver/StatusServerTest.java55
-rw-r--r--java/servers/test/org/xtreemfs/integrationtest/ExternalIntegrationTest.java425
-rw-r--r--java/servers/test/org/xtreemfs/test/SetupUtils.java458
-rw-r--r--java/servers/test/org/xtreemfs/test/TestEnvironment.java466
-rw-r--r--java/servers/test/org/xtreemfs/test/TestHelper.java15
-rw-r--r--java/servers/test/org/xtreemfs/test/common/CapabilityTest.java68
-rw-r--r--java/servers/test/org/xtreemfs/test/common/benchmark/ControllerIntegrationTest.java556
-rw-r--r--java/servers/test/org/xtreemfs/test/common/monitoring/DIRMonitoringTest.java223
-rw-r--r--java/servers/test/org/xtreemfs/test/common/monitoring/GeneralMonitoringTest.java305
-rw-r--r--java/servers/test/org/xtreemfs/test/common/monitoring/MRCMonitoringTest.java235
-rw-r--r--java/servers/test/org/xtreemfs/test/common/monitoring/OSDMonitoringTest.java179
-rw-r--r--java/servers/test/org/xtreemfs/test/common/striping/LocationsCacheTest.java135
-rw-r--r--java/servers/test/org/xtreemfs/test/common/striping/LocationsTest.java175
-rw-r--r--java/servers/test/org/xtreemfs/test/common/striping/RAID0Test.java206
-rw-r--r--java/servers/test/org/xtreemfs/test/common/uuid/UUIDResolverTest.java97
-rw-r--r--java/servers/test/org/xtreemfs/test/dir/DIRClientTest.java233
-rw-r--r--java/servers/test/org/xtreemfs/test/dir/DIRTest.java303
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/BabuDBStorageManagerTest.java548
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/BufferBackedMetadataTest.java391
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/MRCTest.java1472
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/OSDPolicyTest.java613
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/SetReadOnlyXattrTest.java141
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/SetReplicaUpdatePolicyTest.java187
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/SnapshotTest.java443
-rw-r--r--java/servers/test/org/xtreemfs/test/mrc/VersionedXLocSetTest.java583
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/AdvisoryLocksTest.java257
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/CleanupTest.java361
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/ClientLeaseTest.java321
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/CowPolicyTest.java94
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/FastDeleteOpenFile.java136
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/OSDDataIntegrityTest.java443
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/OSDDrainTest.java490
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/OSDRangeReads.java286
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/OSDTruncateTest.java422
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/SimpleVivaldiStageTest.java124
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/StorageLayoutTest.java332
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/StorageStageTest.java492
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/StripingTest.java762
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/StripingTestCOW.java296
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/VersionManagementTest.java356
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/VersionTableTest.java113
-rwxr-xr-xjava/servers/test/org/xtreemfs/test/osd/replication/ObjectSetTest.java250
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/replication/ReadWriteReplicationTest.java177
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/replication/ReplicationRAFTest.java699
-rwxr-xr-xjava/servers/test/org/xtreemfs/test/osd/replication/ReplicationTest.java594
-rwxr-xr-xjava/servers/test/org/xtreemfs/test/osd/replication/ServiceAvailabilityTest.java124
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/replication/TransferStrategiesTest.java429
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/rwre/FixWrongMasterEpochDirectoryTest.java73
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/rwre/RWQuorumReplicationTest.java297
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/rwre/RWReplicationFailureTest.java189
-rw-r--r--java/servers/test/org/xtreemfs/test/osd/rwre/RWReplicationTest.java297
-rw-r--r--java/servers/test/org/xtreemfs/utils/ScrubberTest.java514
-rw-r--r--man/man1/lsfs.xtreemfs.168
-rw-r--r--man/man1/mkfs.xtreemfs.1145
-rw-r--r--man/man1/mount.xtreemfs.1189
-rw-r--r--man/man1/rmfs.xtreemfs.175
-rw-r--r--man/man1/umount.xtreemfs.123
-rw-r--r--man/man1/xtfs_chstatus.145
-rw-r--r--man/man1/xtfs_cleanup.175
-rw-r--r--man/man1/xtfs_mrcdbtool.151
-rw-r--r--man/man1/xtfs_remove_osd.166
-rw-r--r--man/man1/xtfs_scrub.162
-rw-r--r--man/man1/xtfsutil.1199
-rwxr-xr-xpackaging/generate_uuid25
-rw-r--r--packaging/postinstall_setup.sh78
-rw-r--r--snmp/README.txt8
-rw-r--r--snmp/generatedcode.sh16
-rw-r--r--snmp/jdmk.acl38
-rw-r--r--snmp/mib_core.txt375
-rw-r--r--snmp/xtreemfs-mib.txt315
-rw-r--r--tests/.project17
-rw-r--r--tests/.pydevproject7
-rw-r--r--tests/certs/Client.key15
-rw-r--r--tests/certs/Client.p12bin0 -> 1669 bytes
-rw-r--r--tests/certs/Client.pem16
-rw-r--r--tests/certs/Client.req12
-rw-r--r--tests/certs/DIR.key15
-rw-r--r--tests/certs/DIR.p12bin0 -> 1669 bytes
-rw-r--r--tests/certs/DIR.pem16
-rw-r--r--tests/certs/DIR.req12
-rw-r--r--tests/certs/MRC.key15
-rw-r--r--tests/certs/MRC.p12bin0 -> 1669 bytes
-rw-r--r--tests/certs/MRC.pem16
-rw-r--r--tests/certs/MRC.req12
-rw-r--r--tests/certs/OSD.key15
-rw-r--r--tests/certs/OSD.p12bin0 -> 1669 bytes
-rw-r--r--tests/certs/OSD.pem16
-rw-r--r--tests/certs/OSD.req12
-rw-r--r--tests/certs/client_ssl_test/CA_Chain.pem42
-rw-r--r--tests/certs/client_ssl_test/CA_Intermediate.key16
-rw-r--r--tests/certs/client_ssl_test/CA_Intermediate.pem14
-rw-r--r--tests/certs/client_ssl_test/CA_Intermediate.req11
-rw-r--r--tests/certs/client_ssl_test/CA_Intermediate.srl1
-rw-r--r--tests/certs/client_ssl_test/CA_Leaf.key16
-rw-r--r--tests/certs/client_ssl_test/CA_Leaf.pem14
-rw-r--r--tests/certs/client_ssl_test/CA_Leaf.req11
-rw-r--r--tests/certs/client_ssl_test/CA_Leaf.srl1
-rw-r--r--tests/certs/client_ssl_test/CA_Root.key16
-rw-r--r--tests/certs/client_ssl_test/CA_Root.pem14
-rw-r--r--tests/certs/client_ssl_test/CA_Root.req11
-rw-r--r--tests/certs/client_ssl_test/CA_Root.srl1
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf.key16
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf.p12bin0 -> 1670 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf.pem14
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf.req11
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf_Chain.p12bin0 -> 3470 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf_Leaf.p12bin0 -> 2288 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Leaf_Root.p12bin0 -> 2288 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Root.key16
-rw-r--r--tests/certs/client_ssl_test/Client_Root.p12bin0 -> 1670 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Root.pem14
-rw-r--r--tests/certs/client_ssl_test/Client_Root.req11
-rw-r--r--tests/certs/client_ssl_test/Client_Root_Chain.p12bin0 -> 3470 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Root_Leaf.p12bin0 -> 2288 bytes
-rw-r--r--tests/certs/client_ssl_test/Client_Root_Root.p12bin0 -> 2288 bytes
-rw-r--r--tests/certs/client_ssl_test/DIR_Leaf.key16
-rw-r--r--tests/certs/client_ssl_test/DIR_Leaf.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/DIR_Leaf.pem14
-rw-r--r--tests/certs/client_ssl_test/DIR_Leaf.req11
-rw-r--r--tests/certs/client_ssl_test/DIR_Root.key16
-rw-r--r--tests/certs/client_ssl_test/DIR_Root.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/DIR_Root.pem14
-rw-r--r--tests/certs/client_ssl_test/DIR_Root.req11
-rw-r--r--tests/certs/client_ssl_test/MRC_Leaf.key16
-rw-r--r--tests/certs/client_ssl_test/MRC_Leaf.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/MRC_Leaf.pem14
-rw-r--r--tests/certs/client_ssl_test/MRC_Leaf.req11
-rw-r--r--tests/certs/client_ssl_test/MRC_Root.key16
-rw-r--r--tests/certs/client_ssl_test/MRC_Root.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/MRC_Root.pem14
-rw-r--r--tests/certs/client_ssl_test/MRC_Root.req11
-rw-r--r--tests/certs/client_ssl_test/OSD_Leaf.key16
-rw-r--r--tests/certs/client_ssl_test/OSD_Leaf.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/OSD_Leaf.pem14
-rw-r--r--tests/certs/client_ssl_test/OSD_Leaf.req11
-rw-r--r--tests/certs/client_ssl_test/OSD_Root.key16
-rw-r--r--tests/certs/client_ssl_test/OSD_Root.p12bin0 -> 1656 bytes
-rw-r--r--tests/certs/client_ssl_test/OSD_Root.pem14
-rw-r--r--tests/certs/client_ssl_test/OSD_Root.req11
-rw-r--r--tests/certs/client_ssl_test/README60
-rw-r--r--tests/certs/client_ssl_test/trusted_leaf.jksbin0 -> 603 bytes
-rw-r--r--tests/certs/client_ssl_test/trusted_root.jksbin0 -> 603 bytes
-rw-r--r--tests/certs/trusted.jksbin0 -> 720 bytes
-rw-r--r--tests/config_parser.py155
-rw-r--r--tests/configs/dirconfig_no_ssl.test110
-rw-r--r--tests/configs/dirconfig_ssl_ignore_errors.test115
-rw-r--r--tests/configs/dirconfig_ssl_long_chain.test115
-rw-r--r--tests/configs/dirconfig_ssl_no_verification.test115
-rw-r--r--tests/configs/dirconfig_ssl_short_chain.test115
-rw-r--r--tests/configs/dirconfig_ssl_version.test115
-rw-r--r--tests/configs/dirconfig_ssl_version_sslv3.test115
-rw-r--r--tests/configs/dirconfig_ssl_version_tlsv1.test115
-rw-r--r--tests/configs/dirconfig_ssl_version_tlsv11.test115
-rw-r--r--tests/configs/dirconfig_ssl_version_tlsv12.test115
-rw-r--r--tests/configs/mrcconfig_no_ssl.test173
-rw-r--r--tests/configs/mrcconfig_ssl_ignore_errors.test167
-rw-r--r--tests/configs/mrcconfig_ssl_long_chain.test167
-rw-r--r--tests/configs/mrcconfig_ssl_no_verification.test167
-rw-r--r--tests/configs/mrcconfig_ssl_short_chain.test167
-rw-r--r--tests/configs/mrcconfig_ssl_version.test167
-rw-r--r--tests/configs/mrcconfig_ssl_version_sslv3.test167
-rw-r--r--tests/configs/mrcconfig_ssl_version_tlsv1.test167
-rw-r--r--tests/configs/mrcconfig_ssl_version_tlsv11.test167
-rw-r--r--tests/configs/mrcconfig_ssl_version_tlsv12.test167
-rw-r--r--tests/configs/osdconfig_no_ssl.test99
-rw-r--r--tests/configs/osdconfig_ssl_ignore_errors.test100
-rw-r--r--tests/configs/osdconfig_ssl_long_chain.test100
-rw-r--r--tests/configs/osdconfig_ssl_no_verification.test100
-rw-r--r--tests/configs/osdconfig_ssl_short_chain.test100
-rw-r--r--tests/configs/osdconfig_ssl_version.test100
-rw-r--r--tests/configs/osdconfig_ssl_version_sslv3.test100
-rw-r--r--tests/configs/osdconfig_ssl_version_tlsv1.test100
-rw-r--r--tests/configs/osdconfig_ssl_version_tlsv11.test100
-rw-r--r--tests/configs/osdconfig_ssl_version_tlsv12.test100
-rwxr-xr-xtests/cronjob/run_xtreemfs_tests.sh155
-rwxr-xr-xtests/kill_running_servers.sh17
-rw-r--r--tests/test_config.py333
-rwxr-xr-xtests/test_scripts/01_simple_metadata.py154
-rwxr-xr-xtests/test_scripts/02_erichs_ddwrite.py63
-rwxr-xr-xtests/test_scripts/03_erichs_data_integrity_test.py39
-rwxr-xr-xtests/test_scripts/05_findgreptar.sh18
-rwxr-xr-xtests/test_scripts/09_fsx.py48
-rwxr-xr-xtests/test_scripts/10_bonnie.py40
-rwxr-xr-xtests/test_scripts/11_iozone_diagnostic.py39
-rwxr-xr-xtests/test_scripts/12_iozone_throughput.py38
-rwxr-xr-xtests/test_scripts/13_dbench.py51
-rwxr-xr-xtests/test_scripts/14_xtfs_benchmark.sh17
-rwxr-xr-xtests/test_scripts/15_makextreemfs.py53
-rwxr-xr-xtests/test_scripts/16_iozone_multithread.py39
-rwxr-xr-xtests/test_scripts/17_bonnie_multithread.py41
-rwxr-xr-xtests/test_scripts/18_view_renewal.py132
-rwxr-xr-xtests/test_scripts/cpp_unit_tests.sh22
-rwxr-xr-xtests/test_scripts/cpp_unit_tests_valgrind.sh95
-rw-r--r--tests/test_scripts/dbench-client.txt.gzbin0 -> 1880893 bytes
-rwxr-xr-xtests/test_scripts/fsx.sh13
-rwxr-xr-xtests/test_scripts/hadoop2_test.sh250
-rwxr-xr-xtests/test_scripts/hadoop_ssl_test.sh195
-rwxr-xr-xtests/test_scripts/hadoop_test.sh216
-rwxr-xr-xtests/test_scripts/junit_tests.sh147
-rwxr-xr-xtests/test_scripts/marked_block.pl196
-rwxr-xr-xtests/test_scripts/marked_block_helper.pl196
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/LICENSE27
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/Makefile16
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/README28
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/README.XtreemFS14
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/bogus.t4
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/fstest.c1173
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/00.t73
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/02.t13
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/03.t23
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/04.t16
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/05.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/06.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/07.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/08.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/09.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/10.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/11.t36
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/mkfifo/12.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/00.t178
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/01.t20
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/02.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/03.t25
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/04.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/05.t35
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/06.t21
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/07.t54
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/08.t70
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/09.t82
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/10.t62
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/11.t70
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/12.t43
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chflags/13.t14
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/00.t161
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/02.t.length15
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/05.t31
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/06.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/07.t31
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/08.t59
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/09.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/10.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chmod/11.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/00.t376
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/02.t.length15
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/05.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/06.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/07.t28
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/08.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/09.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/chown/10.t12
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/conf8
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/00.t151
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/01.t22
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/02.t.length23
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/03.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/04.t20
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/05.t41
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/06.t43
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/07.t41
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/08.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/09.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/10.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/11.t41
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/12.t55
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/13.t56
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/14.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/15.t38
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/16.t39
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/link/17.t20
-rw-r--r--tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/misc.sh157
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/00.t73
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/02.t.length13
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/03.t23
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/04.t16
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/05.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/06.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/07.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/08.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/09.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/10.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/11.t36
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/mkdir/12.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/00.t99
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/02.t.length14
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/05.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/06.t102
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/07.t45
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/08.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/09.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/10.t45
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/11.t39
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/12.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/13.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/14.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/15.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/16.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/17.t15
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/18.t25
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/19.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/20.t25
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/21.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/22.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/open/23.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/00.t141
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/01.t.length21
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/02.t28
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/03.t20
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/04.t43
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/05.t41
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/06.t50
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/07.t95
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/08.t95
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/09.t94
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/10.t243
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/11.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/12.t22
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/13.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/14.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/15.t45
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/16.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/17.t20
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/18.t22
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/19.t30
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rename/20.t35
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/00.t28
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/01.t30
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/02.t.length14
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/05.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/06.t36
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/07.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/08.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/09.t49
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/10.t52
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/11.t40
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/12.t29
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/13.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/14.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/rmdir/15.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/00.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/02.t.length20
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/03.t28
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/04.t16
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/05.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/06.t34
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/07.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/08.t23
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/09.t53
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/10.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/11.t36
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/symlink/12.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/00.t51
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/02.t.length15
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/05.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/06.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/07.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/08.t59
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/09.t15
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/10.t37
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/11.t23
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/12.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/13.t16
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/14.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/00.t115
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/01.t18
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/02.t.length14
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/03.t24
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/04.t17
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/05.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/06.t27
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/07.t19
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/08.t28
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/09.t49
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/10.t52
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/11.t68
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/12.t32
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/unlink/13.t12
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/00.t105
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/01.t83
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/02.t144
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/03.t136
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/04.t114
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/05.t77
-rwxr-xr-xtests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/xacl/06.t124
-rwxr-xr-xtests/test_scripts/posix_test_suite.sh63
-rwxr-xr-xtests/test_scripts/ronly_replication_add_delete_replica.sh123
-rwxr-xr-xtests/test_scripts/system_chstatus_test.sh53
-rwxr-xr-xtests/test_scripts/system_cleanup_test.sh30
-rwxr-xr-xtests/test_scripts/system_mkfs_lsfs_rmfs_test.sh40
-rwxr-xr-xtests/test_scripts/system_mrcdbtool_test.sh24
-rwxr-xr-xtests/test_scripts/system_scrub_test.sh66
-rwxr-xr-xtests/test_scripts/system_snap_test.sh142
-rwxr-xr-xtests/test_scripts/test_flocks.sh34
-rwxr-xr-xtests/test_scripts/test_xattrs.sh25
-rw-r--r--tests/test_server.py329
-rw-r--r--tests/test_volume.py159
-rw-r--r--tests/utils/ltp-fsx.c1083
-rwxr-xr-xtests/xstartserv281
-rwxr-xr-xtests/xtestenv563
2103 files changed, 928962 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..3ad3654
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,20 @@
+Michael Berlin
+Eugenio Cesario
+Johannes Dillmann
+Jan Fajerski
+Jens V. Fischer
+Juan Gonzalez
+Lukas Kairies
+Christoph Kleineweber
+Björn Kolbeck
+Nico Kruber
+Felix Langner
+Philippe Lieser
+Christian Lorenz
+Matthias Noack
+Patrick Schäfer
+Robert Schmidtke
+Thorsten Schuett
+Paul Seiferth
+Dmitry Smirnov
+Jan Stender
diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 0000000..27486c5
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,92 @@
+12-MAR-2015: release 1.5.1
+
+ Changes:
+ * Hadoop Adapter supports Hadoop-2.x and other applications running on the YARN platform (tested with Apache Spark and Apache Flink), new OSD selection policy that imitates the HDFS placement behavior.
+ * Consistent adding and removing replicas for R/W replication.
+ * xtfs_scrup now replaces failed replicas using the R/W replication policy.
+ * Improvements of the SSL mode: the used SSL/TLS version is selectable, strict certificate chain checks are possible, the SSL code on client and server side was improved.
+ * Support for PKCS12 certificate containers is remove from the Windows client (did not work in previous release).
+ * mount.xtreemfs accepts all parameters to be passed in the form -o option=value. If XtreemFS is mounted via /etc/fstab, mount options are passed to the XtreemFS client.
+ * Dockerfiles for the XtreemFS services are available at https://github.com/xtreemfs/xtreemfs-docker.
+ * A Vagrantfile is available in the XtreemFS repository to ease development and testing for new contributors.
+ * Fixed snapshots in the case of deleted files.
+ * Snapshots can be deleted even after inactivating snapshots for a volume (issue 290).
+ * Initial version of an LD_PRELOAD based client that bypasses FUSE (experimental).
+ * Initial implementation of volume quotas (checked only while opening files by the MRC).
+ * OSDs can report their health to the DIR (e.g. based on SMART values), which aggregates this information in the web interface. A new OSD selection policy sorts out unhealthy OSDs.
+ * Improved automatic testing: introduced Travis-CI, migrated all JUnit tests to version 4, improved reliability of nightly integration tests.
+ * Added new benchmark tool xtfs_benchmark that is based on the JAVA libxtreemfs.
+ * Many small improvements and fixes.
+
+12-MAR-2014: release 1.5 (Wonderful Waffles)
+
+ Changes:
+ * Improved Hadoop Adapter e.g., added support for multiple volumes and read and write buffer to speed up performance.
+ * Support for SSDs: Support for multiple OSD storage threads to increase parallelism.
+ * Status webpage as part of the DIR webinterface for replicated files to show current primary and backup replicas.
+ * Multi-homing support. XtreemFS can now be made available for multiple networks and clients will pick the correct address automatically.
+ * Support for multiple OSDs per machine (e.g. one for each disk) through the xtreemfs-osd-farm init.d script.
+ * Fixed major issues in Read-Only and Read/Write file replication.
+ * Reduced metadata cache default timeout from 120 to 10 seconds. Disable it completely with --metadata-cache-size=0.
+ * Upgraded to Google Protobuffers 2.5 which improves performance.
+ * Windows Client: Fixed several issues (e.g., 286, 299) and updated the CbFS driver to the latest version.
+ * XtreemFS also compiles under buildroot now.
+ * Fixed several issues around SSL (e.g., 263, 281).
+ * Fixed many small issues e.g., reported volume capacity was inaccurate (issue 296).
+ Other fixed issues: 267, 268, 272, 274, 276, 277, 278, 283, 287, 288, 292, 293, 294.
+ * Improved general stability (e.g., see issues 297, 301).
+ * xtfs_scrub now repairs replicas with an invalid checksum automatically.
+ * Disabled deferred deletion of file data on the OSDs.
+ * Improved test coverage of nightly tests and added missing unit tests and a Valgrind leak check for C++ unit tests.
+
+12-NOV-2012: release 1.4 (Salty Sticks)
+
+ Changes:
+ * Improved stability: Fixed client crashes when timeouts occurred; fixed server crashes and issues with the R/W replication.
+ * Full support for asynchronous writes: If a client is started with "--enable-async-writes", write() requests will be immediately acknowledged by the client and executed in the background. Outstanding writes are always flushed at close() or fsync*() events. This improves the write throughput, especially in case of connections with high latency.
+ * Added Windows Client Beta which uses Eldos' Callback File System product instead of Dokan.
+ * Re-wrote HDFS interface implementation: Use XtreemFS as replacement for HDFS in your Hadoop setup.
+ * libxtreemfs for Java: Access XtreemFS directly from your Java application. See source files org.xtreemfs.common.libxtreemfs.{Client,Volume,FileHandle}.java for the interface.
+ * Re-added Vivaldi support and added/improved its functionality:
+ * Vivaldi is directly integrated in the client now and can be enabled with '--vivaldi-enable'.
+ * Added Vivaldi visualization: see '/vivaldi' subpage on DIR. Have a look at our demo server to get an impressium: http://demo.xtreemfs.org:30638/vivaldi
+ * Coordinates of clients can be also visualized if clients reporting was enabled with '--vivaldi-enable-dir-updates'.
+ * Added support for OSD Selection based on Custom Attributes. For example, assign a country code to every OSD as custom attribute and limit the placement of files on OSDs based on the attribute.
+
+ * Rewrote xtfs_scrub tool and fixed support for read-only replicated files and checksums. R/W replicas will be supported in the next release.
+ * Certificate password provided on command line no longer visible in process listing output. Additionally, the password can be entered on stdin now. (Issue 251)
+ * Support for binary extended attributes (allows to preserve POSIX ACLs when copying data to XtreemFS; however they are not evaluated - use the XtreemFS ACLs therefore).
+ * Fixed several client issues (e.g., 231, 234, 237).
+ * Fixed clock synchronization problems which impaired the DIR/MRC replication. This also fixed issue 236.
+ * Client: Added DIR fail over support. Specify multiple DIR replicas when mounting as follows: mount.xtreemfs dir1,dir2,dir3/volume. However, please note that the DIR/MRC replication is still experimental and not officially supported yet.
+ * MacOSX Client: Fixed wrong df output (issue 247). Fixed failed installer if XtreemFS is already installed (issue 239). Fixed installer check if FUSE is installed (also works for OSXFUSE now) (issue 197).
+ * Volume Snapshots Tools: Functionality was moved from "xtfs_snap" tool to "xtfsutil".
+ * Various minor fixes.
+
+ * MRC: To prevent confusion, global policy attributes are no longer allowed and always have to be prefixed by the policy id e.g., "1002.uuids".
+ * init.d scripts no longer store a lock file in /var/lock/subsys. You can remove this directory now.
+
+03-NOV-2011: release 1.3.1
+ * Added 'xtfs_remove_osd' utility to remove OSDs from an XtreemFS installation. All files on the OSD to be removed will be relocated to different OSDs.
+ * Added first support for asynchronous writes in the client. Mounting with '--max-writeahead' and '--max-writeahead-requests' allows the user to specify the maximum number of bytes and requests to be sent to an OSD before receiving an acknowledgment. However, this feature currently does not work together with replication and retries.
+ * Added monitoring support to servers. Various characteristics are accessible now via SNMP, such as data transfer statistics, memory usage, numbers of files and directories, etc. A Ganglia plugin makes it possible to visualize them.
+ * improved stability of MRC/DIR replication
+ * improved the behavior of the read-write replication under heavy load by internally limiting the length of request queues
+ * made several usability changes to xtfsutil
+ * added '/babudb' subpage to MRC/DIR status page that shows internal database statistics
+ * added Gentoo overlay
+ * installing XtreemFS now creates symlinks '/sbin/mount.xtreemfs' and '/sbin/umount.xtreemfs' in order to support XtreemFS mounting via fstab (however, not all client options are available in the fstab yet, see issue 205)
+ * the replication policy "WaRa" was renamed to "WaR1"
+ * fixed issues 196, 198-204, 206-209, 211-218, 220, 222
+ * fixed a wide range of issues w/ read-only and read-write replication of files
+ * fixed issues w/ several MRC calls when admin passwords were specified (a consequence of this is that an XtreemFS 1.3.0 client can no longer mount admin_password protected MRCs; upgrade the client to 1.3.1 to fix this)
+ * fixed various client issues, such as deadlocks and memory leaks
+
+10-AUG-2011: release 1.3.0 (Tasty Tartlet)
+ * added new features: full read-write replication of files, snapshots
+ * completely re-wrote the client
+ - it now supports metadata caching and automatic fail-over for replicated files
+ - a client library 'libxtreemfs' separates the client logic from platform-specific bindings (e.g. FUSE, Dokan)
+ * added first prototypes of metadata (MRC and DIR) replication
+ * merged all user tools into a new general-purpose tool 'xtfsutil'
+ * changed license from GPL to BSD
diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES
new file mode 100644
index 0000000..28b1b5f
--- /dev/null
+++ b/KNOWN_ISSUES
@@ -0,0 +1,8 @@
+From release 1.3.1 on, we document all known limitations of XtreemFS
+in our issue tracker and mark each with the label "KnownLimitations".
+
+Please have a look at
+
+ https://github.com/xtreemfs/xtreemfs/labels/KnownLimitations
+
+for the complete list of current known limitations.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..c5ef559
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,35 @@
+Copyright (c) 2008-2012, Michael Berlin, Eugenio Cesario,
+Juan Gonzalez, Björn Kolbeck, Felix Langner, Christian Lorenz,
+Matthias Noack, Patrick Schäfer, Paul Seiferth, Jan Stender
+
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ * Redistributions of source code must retain the above
+ copyright notice, this list of conditions and the
+ following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+ * Neither the name of the Zuse Institute Berlin nor the
+ names of its contributors may be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..16de650
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,349 @@
+ifeq "$(JAVA_HOME)" ""
+ JAVAC_BIN = /usr/bin/javac
+else
+ JAVAC_BIN = $(JAVA_HOME)/bin/javac
+endif
+
+ifeq "$(ANT_HOME)" ""
+ ANT_BIN = /usr/bin/ant
+else
+ ANT_BIN = $(ANT_HOME)/bin/ant
+endif
+
+ifeq "$(CMAKE_HOME)" ""
+ CMAKE_BIN = cmake
+else
+ CMAKE_BIN = $(CMAKE_HOME)/bin/cmake
+endif
+
+SHELL := $(shell which bash)
+WHICH_GPP = $(shell which g++)
+WHICH_CLANGPP = $(shell which clang++)
+
+ifeq "$(shell uname)" "SunOS"
+ PROTOBUF_DISABLE_64_BIT_SOLARIS = "--disable-64bit-solaris"
+endif
+
+# Paths used during compilation.
+XTREEMFS_CLIENT_BUILD_DIR=$(shell pwd)/cpp/build
+XTREEMFS_BINARIES_DIR = $(shell pwd)/bin
+
+# Install paths relative to DESTDIR.
+XTREEMFS_JAR_DIR=$(DESTDIR)/usr/share/java
+XTREEMFS_CONFIG_PARENT_DIR=$(DESTDIR)/etc/xos
+XTREEMFS_CONFIG_DIR=$(XTREEMFS_CONFIG_PARENT_DIR)/xtreemfs
+XTREEMFS_INIT_DIR=$(DESTDIR)/etc/init.d
+XTREEMFS_SHARE_DIR=$(DESTDIR)/usr/share/xtreemfs
+BIN_DIR=$(DESTDIR)/usr/bin
+SBIN_DIR=$(DESTDIR)/sbin
+MAN_DIR=$(DESTDIR)/usr/share/man/man1
+DOC_DIR_SERVER=$(DESTDIR)/usr/share/doc/xtreemfs-server
+DOC_DIR_CLIENT=$(DESTDIR)/usr/share/doc/xtreemfs-client
+DOC_DIR_TOOLS=$(DESTDIR)/usr/share/doc/xtreemfs-tools
+PLUGIN_CONFIG_DIR=$(XTREEMFS_CONFIG_DIR)/server-repl-plugin
+
+#Configuration of cpp code thirdparty dependencies.
+# If you edit the next five variables, make sure you also change them in cpp/CMakeLists.txt.
+CLIENT_GOOGLE_PROTOBUF_CPP = cpp/thirdparty/protobuf-2.5.0
+CLIENT_GOOGLE_PROTOBUF_CPP_LIBRARY = $(CLIENT_GOOGLE_PROTOBUF_CPP)/src/.libs/libprotobuf.a
+CLIENT_GOOGLE_TEST_CPP = cpp/thirdparty/gtest-1.7.0
+CLIENT_GOOGLE_TEST_CPP_LIBRARY = $(CLIENT_GOOGLE_TEST_CPP)/lib/.libs/libgtest.a
+CLIENT_GOOGLE_TEST_CPP_MAIN = $(CLIENT_GOOGLE_TEST_CPP)/lib/.libs/libgtest_main.a
+# The two required objects libgtest.a and libgtest_main.a both depend
+# on the same target building the Google googletest library.
+# Therefore, this target is guarded by a checkfile which will be touched once it was executed.
+# This prevents the target from getting executed again as long as the checkfile does not change.
+CLIENT_GOOGLE_TEST_CHECKFILE = .googletest_library_already_built
+
+TARGETS = client server foundation flease
+.PHONY: clean distclean set_version
+
+all: check_server check_client check_test $(TARGETS)
+
+clean: check_server check_client $(patsubst %,%_clean,$(TARGETS))
+
+distclean: check_server check_client $(patsubst %,%_distclean,$(TARGETS))
+
+install: install-client install-server install-tools
+
+install-client:
+
+ @if [ ! -f $(XTREEMFS_BINARIES_DIR)/mkfs.xtreemfs ]; then echo "PLEASE RUN 'make client' FIRST!"; exit 1; fi
+
+ @mkdir -p $(DOC_DIR_CLIENT)
+ @cp LICENSE $(DOC_DIR_CLIENT)
+
+ @mkdir -p $(BIN_DIR)
+ @cp -p $(XTREEMFS_BINARIES_DIR)/*.xtreemfs $(XTREEMFS_BINARIES_DIR)/xtfsutil $(BIN_DIR)
+
+# mount -t xtreemfs will be recognized when binaries are present in /sbin/. Only applicable if the Fuse Client was built.
+ @[ -f $(XTREEMFS_BINARIES_DIR)/mount.xtreemfs ] && mkdir -p $(SBIN_DIR); true
+ @[ -f $(XTREEMFS_BINARIES_DIR)/mount.xtreemfs ] && ln -s $(BIN_DIR)/mount.xtreemfs $(SBIN_DIR)/mount.xtreemfs; true
+ @[ -f $(XTREEMFS_BINARIES_DIR)/mount.xtreemfs ] && ln -s $(BIN_DIR)/umount.xtreemfs $(SBIN_DIR)/umount.xtreemfs; true
+
+ @mkdir -p $(XTREEMFS_CONFIG_DIR)
+ @cp etc/xos/xtreemfs/default_dir $(XTREEMFS_CONFIG_DIR)
+
+ @mkdir -p $(MAN_DIR)
+ @cp -R man/man1/*.xtreemfs* $(MAN_DIR)
+ @cp -R man/man1/xtfsutil.* $(MAN_DIR)
+
+install-server:
+
+ @if [ ! -f java/servers/dist/XtreemFS.jar ]; then echo "PLEASE RUN 'make server' FIRST!"; exit 1; fi
+
+ @mkdir -p $(DOC_DIR_SERVER)
+ @cp LICENSE $(DOC_DIR_SERVER)
+
+ @mkdir -p $(XTREEMFS_JAR_DIR)
+ @cp java/servers/dist/XtreemFS.jar $(XTREEMFS_JAR_DIR)
+ @cp java/foundation/dist/Foundation.jar $(XTREEMFS_JAR_DIR)
+ @cp java/flease/dist/Flease.jar $(XTREEMFS_JAR_DIR)
+ @cp java/lib/*.jar $(XTREEMFS_JAR_DIR)
+ @cp contrib/server-repl-plugin/BabuDB_replication_plugin.jar $(XTREEMFS_JAR_DIR)
+
+ @mkdir -p $(XTREEMFS_CONFIG_DIR)
+# @cp etc/xos/xtreemfs/*config.properties $(XTREEMFS_CONFIG_DIR)
+# delete UUID from config-files
+ @grep -v '^uuid\W*=\W*\w\+' etc/xos/xtreemfs/dirconfig.properties > $(XTREEMFS_CONFIG_DIR)/dirconfig.properties
+ @grep -v '^uuid\W*=\W*\w\+' etc/xos/xtreemfs/mrcconfig.properties > $(XTREEMFS_CONFIG_DIR)/mrcconfig.properties
+ @grep -v '^uuid\W*=\W*\w\+' etc/xos/xtreemfs/osdconfig.properties > $(XTREEMFS_CONFIG_DIR)/osdconfig.properties
+
+ @mkdir -p $(PLUGIN_CONFIG_DIR)
+ @cp contrib/server-repl-plugin/config/dir.properties $(PLUGIN_CONFIG_DIR)
+ @cp contrib/server-repl-plugin/config/mrc.properties $(PLUGIN_CONFIG_DIR)
+
+ @cp packaging/generate_uuid $(XTREEMFS_CONFIG_DIR)
+ @cp packaging/postinstall_setup.sh $(XTREEMFS_CONFIG_DIR)
+ @chmod a+x $(XTREEMFS_CONFIG_DIR)/postinstall_setup.sh
+
+# Generating init.d scripts based on template.
+ @etc/init.d/generate_initd_scripts.sh
+ @mkdir -p $(XTREEMFS_INIT_DIR)
+ @cp etc/init.d/xtreemfs-{dir,mrc,osd} $(XTREEMFS_INIT_DIR)
+ @chmod a+x $(XTREEMFS_INIT_DIR)/xtreemfs-*
+
+ @mkdir -p $(XTREEMFS_SHARE_DIR)
+ @cp contrib/xtreemfs-osd-farm/xtreemfs-osd-farm $(XTREEMFS_SHARE_DIR)
+
+ @echo "to complete the server installation, please execute $(XTREEMFS_CONFIG_DIR)/postinstall_setup.sh"
+
+install-tools:
+
+ @if [ ! -f java/servers/dist/XtreemFS.jar ]; then echo "PLEASE RUN 'make server' FIRST!"; exit 1; fi
+
+ @mkdir -p $(DOC_DIR_TOOLS)
+ @cp LICENSE $(DOC_DIR_TOOLS)
+
+ @mkdir -p $(XTREEMFS_JAR_DIR)
+ @cp java/servers/dist/XtreemFS.jar $(XTREEMFS_JAR_DIR)
+ @cp java/foundation/dist/Foundation.jar $(XTREEMFS_JAR_DIR)
+ @cp java/flease/dist/Flease.jar $(XTREEMFS_JAR_DIR)
+ @cp java/lib/*.jar $(XTREEMFS_JAR_DIR)
+
+ @mkdir -p $(BIN_DIR)
+ @cp -p `ls $(XTREEMFS_BINARIES_DIR)/xtfs_* | grep -v xtfs_.*mount` $(BIN_DIR)
+
+ @mkdir -p $(MAN_DIR)
+ @cp -R man/man1/xtfs_* $(MAN_DIR)
+
+uninstall:
+
+ @rm -rf $(DOC_DIR_SERVER)
+ @rm -rf $(DOC_DIR_CLIENT)
+ @rm -rf $(DOC_DIR_TOOLS)
+
+ @rm -rf $(BIN_DIR)/xtfs*
+ @rm -rf $(BIN_DIR)/*.xtreemfs
+
+ @rm -f $(SBIN_DIR)/mount.xtreemfs
+ @rm -f $(SBIN_DIR)/umount.xtreemfs
+
+ @rm -f $(XTREEMFS_JAR_DIR)/XtreemFS.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/Foundation.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/Flease.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/BabuDB.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/commons-codec-1.3.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/jdmkrt.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/jdmktk.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/protobuf-java-2.5.0.jar
+ @rm -f $(XTREEMFS_JAR_DIR)/BabuDB_replication_plugin.jar
+
+ @rm -f $(XTREEMFS_INIT_DIR)/xtreemfs-*
+
+ @rm -rf $(MAN_DIR)/xtfs*
+ @rm -rf $(MAN_DIR)/*.xtreemfs*
+
+ @echo "uninstall complete"
+
+purge: uninstall
+
+ @rm -rf $(XTREEMFS_CONFIG_DIR)
+ @echo "purge complete"
+
+check_server:
+ @if [ ! -e $(JAVAC_BIN) ]; then echo "javac not found! Make sure a JDK is installed and set JAVA_HOME."; exit 1; fi;
+ @if [ $(shell $(JAVAC_BIN) -version 2>&1 | head -n1 | cut -d" " -f2 | cut -d. -f2) -lt 6 ]; then echo "java version >= 1.6.0 required!"; exit 1; fi;
+ @echo "java ok"
+
+ @if [ ! -e $(ANT_BIN) ]; then echo "ant not found! Make sure ant is installed and set ANT_HOME."; exit 1; fi;
+ @echo "ant ok"
+
+check_client:
+ @if [ ! $(WHICH_GPP) -a ! $(WHICH_CLANGPP) ]; then echo "C++ compiler not found";exit 1; fi;
+ @if [ ! $(CMAKE_BIN) ]; then echo "cmake not found";exit 1; fi;
+ @echo "C++ ok"
+
+
+check_test:
+ @if [[ $(shell python -V 2>&1 | head -n1 | cut -d" " -f2 | cut -d. -f2) -lt 3 && $(shell python -V 2>&1 | head -n1 | cut -d" " -f2 | cut -d. -f1) -lt 3 ]]; then echo "python >= 2.4 required!"; exit 1; fi;
+ @echo "python ok"
+
+set_version:
+# Try to set the SVN revision and branch name as part of the version. We don't care if this may fail.
+ifndef SKIP_SET_SVN_VERSION
+ @./packaging/set_version.sh -s &>/dev/null; exit 0
+endif
+
+.PHONY: client client_clean client_distclean client_thirdparty_clean client_package_macosx
+
+# Client section.
+CLIENT_THIRDPARTY_REQUIREMENTS = $(CLIENT_GOOGLE_PROTOBUF_CPP_LIBRARY)
+ifdef BUILD_CLIENT_TESTS
+ CLIENT_THIRDPARTY_REQUIREMENTS += $(CLIENT_GOOGLE_TEST_CPP_LIBRARY) $(CLIENT_GOOGLE_TEST_CPP_MAIN)
+ CMAKE_BUILD_CLIENT_TESTS = -DBUILD_CLIENT_TESTS=true
+endif
+
+# Do not use env variables to control the CMake behavior as stated in http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_get_or_set_environment_variables.3F
+# Instead define them via -D, so they will be cached.
+ifdef BOOST_ROOT
+ CMAKE_BOOST_ROOT = -DBOOST_ROOT="$(BOOST_ROOT)" -DBoost_NO_SYSTEM_PATHS=ON
+endif
+# Tell CMake if it should ignore a missing Fuse.
+ifdef SKIP_FUSE
+ CMAKE_SKIP_FUSE = -DSKIP_FUSE=true
+endif
+# Trigger building the experimental LD_PRELOAD library
+ifdef BUILD_PRELOAD
+ CMAKE_BUILD_PRELOAD = -DBUILD_PRELOAD=true
+endif
+
+
+client_thirdparty: $(CLIENT_THIRDPARTY_REQUIREMENTS)
+
+$(CLIENT_GOOGLE_PROTOBUF_CPP_LIBRARY): $(CLIENT_GOOGLE_PROTOBUF_CPP)/src/**
+ @echo "client_thirdparty: Configuring and building required Google protobuf library..."
+ @cd $(CLIENT_GOOGLE_PROTOBUF_CPP) && LIBS=-lpthread ./configure $(PROTOBUF_DISABLE_64_BIT_SOLARIS) >/dev/null
+ @$(MAKE) -C $(CLIENT_GOOGLE_PROTOBUF_CPP) >/dev/null
+ @echo "client_thirdparty: ...completed building required Google protobuf library."
+ @touch $(CLIENT_GOOGLE_PROTOBUF_CPP_LIBRARY)
+
+$(CLIENT_GOOGLE_TEST_CPP_LIBRARY): $(CLIENT_GOOGLE_TEST_CHECKFILE)
+ @touch $(CLIENT_GOOGLE_TEST_CPP_LIBRARY)
+
+$(CLIENT_GOOGLE_TEST_CPP_MAIN): $(CLIENT_GOOGLE_TEST_CHECKFILE)
+ @touch $(CLIENT_GOOGLE_TEST_CPP_MAIN)
+
+$(CLIENT_GOOGLE_TEST_CHECKFILE): $(CLIENT_GOOGLE_TEST_CPP)/include/** $(CLIENT_GOOGLE_TEST_CPP)/src/**
+ @echo "client_thirdparty: Configuring and building required Google googletest library..."
+ @cd $(CLIENT_GOOGLE_TEST_CPP) && ./configure >/dev/null
+ @$(MAKE) -C $(CLIENT_GOOGLE_TEST_CPP) >/dev/null
+ @touch $(CLIENT_GOOGLE_TEST_CPP_LIBRARY)
+ @echo "client_thirdparty: ...completed building required Google googletest library."
+ @touch $(CLIENT_GOOGLE_TEST_CHECKFILE)
+
+client_thirdparty_clean:
+ @if [ -f $(CLIENT_GOOGLE_PROTOBUF_CPP)/Makefile ]; then echo "Cleaning required Google protobuf library sources..."; $(MAKE) -C $(CLIENT_GOOGLE_PROTOBUF_CPP) clean >/dev/null; fi
+ @if [ -f $(shell pwd)/$(CLIENT_GOOGLE_TEST_CPP)/Makefile ]; then echo "Cleaning required Google googletest library sources..."; $(MAKE) -C $(shell pwd)/$(CLIENT_GOOGLE_TEST_CPP) clean >/dev/null; fi
+ @if [ -f $(CLIENT_GOOGLE_TEST_CHECKFILE) ]; then rm $(CLIENT_GOOGLE_TEST_CHECKFILE); fi
+ @echo "...finished cleaning thirdparty sources."
+
+client_thirdparty_distclean:
+ @echo "client_thirdparty: Dist-Cleaning required Google protobuf library sources..."
+ @if [ -f $(shell pwd)/$(CLIENT_GOOGLE_PROTOBUF_CPP)/Makefile ]; then $(MAKE) -C $(shell pwd)/$(CLIENT_GOOGLE_PROTOBUF_CPP) distclean >/dev/null; fi
+ @echo "client_thirdparty: Dist-Cleaning required Google googletest library sources..."
+ @if [ -f $(shell pwd)/$(CLIENT_GOOGLE_TEST_CPP)/Makefile ]; then $(MAKE) -C $(shell pwd)/$(CLIENT_GOOGLE_TEST_CPP) distclean >/dev/null; fi
+ @if [ -f $(CLIENT_GOOGLE_TEST_CHECKFILE) ]; then rm $(CLIENT_GOOGLE_TEST_CHECKFILE); fi
+ @echo "client_thirdparty: ...finished distcleaning thirdparty sources."
+
+client_debug: CLIENT_DEBUG = -DCMAKE_BUILD_TYPE=Debug
+client_debug: client
+
+client: check_client client_thirdparty set_version
+ $(CMAKE_BIN) -Hcpp -B$(XTREEMFS_CLIENT_BUILD_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 $(CLIENT_DEBUG) $(CMAKE_BOOST_ROOT) $(CMAKE_BUILD_CLIENT_TESTS) $(CMAKE_SKIP_FUSE) ${CMAKE_BUILD_PRELOAD}
+ @$(MAKE) -C $(XTREEMFS_CLIENT_BUILD_DIR)
+ @cd $(XTREEMFS_CLIENT_BUILD_DIR); for i in *.xtreemfs xtfsutil; do [ -f $(XTREEMFS_BINARIES_DIR)/$$i ] && rm -f $(XTREEMFS_BINARIES_DIR)/$$i; done; true
+ @cp -p $(XTREEMFS_CLIENT_BUILD_DIR)/*.xtreemfs $(XTREEMFS_BINARIES_DIR)
+ @cp -p $(XTREEMFS_CLIENT_BUILD_DIR)/xtfsutil $(XTREEMFS_BINARIES_DIR)
+
+client_clean: check_client client_thirdparty_clean
+ @cd $(XTREEMFS_CLIENT_BUILD_DIR) &>/dev/null && { for i in *.xtreemfs xtfsutil; do [ -f $(XTREEMFS_BINARIES_DIR)/$$i ] && rm -f $(XTREEMFS_BINARIES_DIR)/$$i; done }; true
+ @rm -rf $(XTREEMFS_CLIENT_BUILD_DIR)
+
+client_distclean: check_client client_thirdparty_distclean
+ @cd $(XTREEMFS_CLIENT_BUILD_DIR) &>/dev/null && { for i in *.xtreemfs xtfsutil; do [ -f $(XTREEMFS_BINARIES_DIR)/$$i ] && rm -f $(XTREEMFS_BINARIES_DIR)/$$i; done }; true
+ @rm -rf $(XTREEMFS_CLIENT_BUILD_DIR)
+
+CLIENT_PACKAGE_MACOSX_OUTPUT_DIR = XtreemFS_Client_MacOSX.mpkg
+CLIENT_PACKAGE_MACOSX_OUTPUT_FILE = XtreemFS_Client_MacOSX_installer.dmg
+client_package_macosx:
+ifeq ($(CMAKE_BOOST_ROOT),)
+ @echo No BOOST_ROOT environment variable is specified. This will probably fail. Please set it first.; exit 1
+endif
+ @./packaging/set_version.sh -i
+# Clean everything first to ensure we package a clean client.
+ @$(MAKE) client_distclean
+# We call $(MAKE) instead of specifying the targets as requirements as its not possible to define dependencies between these two and this breaks in case of parallel builds.
+ @$(MAKE) client SKIP_SET_SVN_VERSION=1
+ @echo "Running the Apple Packagemaker..."
+ @/Developer/usr/bin/packagemaker -d packaging/macosx/XtreemFS_MacOSX_Package.pmdoc/ -o $(CLIENT_PACKAGE_MACOSX_OUTPUT_DIR)
+ @echo "Creating a DMG file..."
+ @if [ -f "$(CLIENT_PACKAGE_MACOSX_OUTPUT_FILE)" ]; then echo "Removing previous file $(CLIENT_PACKAGE_MACOSX_OUTPUT_FILE)."; rm "$(CLIENT_PACKAGE_MACOSX_OUTPUT_FILE)"; fi
+ @hdiutil create -fs HFS+ -srcfolder "$(CLIENT_PACKAGE_MACOSX_OUTPUT_DIR)" -volname "XtreemFS Client for MacOSX" "$(CLIENT_PACKAGE_MACOSX_OUTPUT_FILE)"
+ @if [ -d "$(CLIENT_PACKAGE_MACOSX_OUTPUT_DIR)" ]; then echo "Cleaning up temporary files..."; rm -r "$(CLIENT_PACKAGE_MACOSX_OUTPUT_DIR)"; fi
+ @echo "Package file created: $(CLIENT_PACKAGE_MACOSX_OUTPUT_FILE)"
+
+.PHONY: flease flease_clean flease_distclean
+flease: foundation
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/flease/build-1.6.5.xml jar
+flease_clean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/flease/build-1.6.5.xml clean || exit 1;
+flease_distclean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/flease/build-1.6.5.xml clean || exit 1;
+
+.PHONY: foundation foundation_clean foundation_distclean
+foundation: set_version
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/foundation/build-1.6.5.xml jar
+foundation_clean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/foundation/build-1.6.5.xml clean || exit 1;
+foundation_distclean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/foundation/build-1.6.5.xml clean || exit 1;
+
+.PHONY: server server_clean server_distclean
+server: check_server foundation flease
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/servers/build-1.6.5.xml jar
+server_clean: check_server
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/servers/build-1.6.5.xml clean || exit 1;
+server_distclean: check_server
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/servers/build-1.6.5.xml clean || exit 1;
+
+.PHONY: hadoop-client hadoop-client_clean hadoop-client_distclean
+hadoop-client: server foundation
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f contrib/hadoop/build.xml jar
+ @echo -e "\n\nHadoop Client was successfully compiled. You can find it here:\n\n\tcontrib/hadoop/dist/XtreemFSHadoopClient.jar\n\nSee the XtreemFS User Guide how to add it in Hadoop.\n"
+hadoop-client_clean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f contrib/hadoop/build.xml clean || exit 1
+hadoop-client_distclean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f contrib/hadoop/build.xml clean || exit 1
+
+test: check_test client server
+ python ./tests/xtestenv -c ./tests/test_config.py short
+
+pbrpcgen:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/pbrpcgen/build.xml
+
+pbrpcgen_clean:
+ $(ANT_BIN) -D"file.encoding=UTF-8" -f java/pbrpcgen/build.xml clean || exit 1
+
+interfaces: pbrpcgen client_thirdparty
+ $(MAKE) -C interface
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1ea3039
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+XtreemFS is a distributed, replicated and fault-tolerant file system for federated IT infrastructures. It is open source software licensed under the New BSD License.
+
+**For more information, downloads and documentation visit our website at http://www.XtreemFS.org.**
+
+ * Website: http://www.XtreemFS.org
+ * Downloads (Linux, MacOSX, Windows): http://www.XtreemFS.org/download.php
+ * User Documentation: http://www.XtreemFS.org/userguide.php
+ * Mailing List: http://groups.google.com/group/xtreemfs
+ * Tutorial for Replication Fail-Over Demo: https://code.google.com/p/xtreemfs/wiki/ContrailSummerSchoolHandsOn2013
+
+The XtreemFS project is developed by Zuse Institute Berlin. The development of the project is funded by the European Commission since 2006 under Grant Agreements No. FP6-033576, FP7-ICT-257438, and FP7-318521, as well as the German projects MoSGrid, "First We Take Berlin", FFMK, GeoMultiSens, and BBDC.
+
+[![Build Status](https://travis-ci.org/xtreemfs/xtreemfs.svg?branch=master)](https://travis-ci.org/xtreemfs/xtreemfs)
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 0000000..80b9725
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,129 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
+VAGRANTFILE_API_VERSION = "2"
+
+Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+ # All Vagrant configuration is done here. The most common configuration
+ # options are documented and commented below. For a complete reference,
+ # please see the online documentation at vagrantup.com.
+
+ # Every Vagrant virtual environment requires a box to build off of.
+ config.vm.box = "precise64"
+
+ # The url from where the 'config.vm.box' box will be fetched if it
+ # doesn't already exist on the user's system.
+ config.vm.box_url = "http://files.vagrantup.com/precise64.box"
+
+ # Create a forwarded port mapping which allows access to a specific port
+ # within the machine from a port on the host machine. In the example below,
+ # accessing "localhost:8080" will access port 80 on the guest machine.
+ # config.vm.network :forwarded_port, guest: 80, host: 8080
+
+ config.vm.network :forwarded_port, guest: 30636, host: 30636
+ config.vm.network :forwarded_port, guest: 32636, host: 32636
+ config.vm.network :forwarded_port, guest: 30638, host: 30638
+ config.vm.network :forwarded_port, guest: 32638, host: 32638
+ config.vm.network :forwarded_port, guest: 30640, host: 30640
+ config.vm.network :forwarded_port, guest: 32640, host: 32640
+
+ # Create a private network, which allows host-only access to the machine
+ # using a specific IP.
+ # config.vm.network :private_network, ip: "192.168.33.10"
+
+ # Create a public network, which generally matched to bridged network.
+ # Bridged networks make the machine appear as another physical device on
+ # your network.
+ # config.vm.network :public_network
+
+ # If true, then any SSH connections made will enable agent forwarding.
+ # Default value: false
+ # config.ssh.forward_agent = true
+
+ # Share an additional folder to the guest VM. The first argument is
+ # the path on the host to the actual folder. The second argument is
+ # the path on the guest to mount the folder. And the optional third
+ # argument is a set of non-required options.
+
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+ config.vm.synced_folder ".", "/xtreemfs_src"
+
+ # Provider-specific configuration so you can fine-tune various
+ # backing providers for Vagrant. These expose provider-specific options.
+ # Example for VirtualBox:
+ #
+ # config.vm.provider :virtualbox do |vb|
+ # # Don't boot with headless mode
+ # vb.gui = true
+ #
+ # # Use VBoxManage to customize the VM. For example to change memory:
+ # vb.customize ["modifyvm", :id, "--memory", "1024"]
+ # end
+ #
+ # View the documentation for the provider you're using for more
+ # information on available options.
+
+ # Enable provisioning with Puppet stand alone. Puppet manifests
+ # are contained in a directory path relative to this Vagrantfile.
+ # You will need to create the manifests directory and a manifest in
+ # the file precise64.pp in the manifests_path directory.
+ #
+ # An example Puppet manifest to provision the message of the day:
+ #
+ # # group { "puppet":
+ # # ensure => "present",
+ # # }
+ # #
+ # # File { owner => 0, group => 0, mode => 0644 }
+ # #
+ # # file { '/etc/motd':
+ # # content => "Welcome to your Vagrant-built virtual machine!
+ # # Managed by Puppet.\n"
+ # # }
+ #
+ # config.vm.provision :puppet do |puppet|
+ # puppet.manifests_path = "manifests"
+ # puppet.manifest_file = "site.pp"
+ # end
+
+ # Enable provisioning with chef solo, specifying a cookbooks path, roles
+ # path, and data_bags path (all relative to this Vagrantfile), and adding
+ # some recipes and/or roles.
+ #
+ # config.vm.provision :chef_solo do |chef|
+ # chef.cookbooks_path = "../my-recipes/cookbooks"
+ # chef.roles_path = "../my-recipes/roles"
+ # chef.data_bags_path = "../my-recipes/data_bags"
+ # chef.add_recipe "mysql"
+ # chef.add_role "web"
+ #
+ # # You may also specify custom JSON attributes:
+ # chef.json = { :mysql_password => "foo" }
+ # end
+
+ # Enable provisioning with chef server, specifying the chef server URL,
+ # and the path to the validation key (relative to this Vagrantfile).
+ #
+ # The Opscode Platform uses HTTPS. Substitute your organization for
+ # ORGNAME in the URL and validation key.
+ #
+ # If you have your own Chef Server, use the appropriate URL, which may be
+ # HTTP instead of HTTPS depending on your configuration. Also change the
+ # validation key to validation.pem.
+ #
+ # config.vm.provision :chef_client do |chef|
+ # chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
+ # chef.validation_key_path = "ORGNAME-validator.pem"
+ # end
+ #
+ # If you're using the Opscode platform, your validator client is
+ # ORGNAME-validator, replacing ORGNAME with your organization name.
+ #
+ # If you have your own Chef Server, the default validation client name is
+ # chef-validator, unless you changed the configuration.
+ #
+ # chef.validation_client_name = "ORGNAME-validator"
+
+ config.vm.provision "shell", path: "contrib/vagrant/provision.sh"
+end
diff --git a/bin/cpplint.py b/bin/cpplint.py
new file mode 100755
index 0000000..188f8ea
--- /dev/null
+++ b/bin/cpplint.py
@@ -0,0 +1,2725 @@
+#!/usr/bin/python
+#
+# cpplint.py is Copyright (C) 2009 Google Inc.
+#
+# It is free software; you can redistribute it and/or modify it under the
+# terms of either:
+#
+# a) the GNU General Public License as published by the Free Software
+# Foundation; either version 1, or (at your option) any later version, or
+#
+# b) the "Artistic License".
+
+# Here are some issues that I've had people identify in my code during reviews,
+# that I think are possible to flag automatically in a lint tool. If these were
+# caught by lint, it would save time both for myself and that of my reviewers.
+# Most likely, some of these are beyond the scope of the current lint framework,
+# but I think it is valuable to retain these wish-list items even if they cannot
+# be immediately implemented.
+#
+# Suggestions
+# -----------
+# - Check for no 'explicit' for multi-arg ctor
+# - Check for boolean assign RHS in parens
+# - Check for ctor initializer-list colon position and spacing
+# - Check that if there's a ctor, there should be a dtor
+# - Check accessors that return non-pointer member variables are
+# declared const
+# - Check accessors that return non-const pointer member vars are
+# *not* declared const
+# - Check for using public includes for testing
+# - Check for spaces between brackets in one-line inline method
+# - Check for no assert()
+# - Check for spaces surrounding operators
+# - Check for 0 in pointer context (should be NULL)
+# - Check for 0 in char context (should be '\0')
+# - Check for camel-case method name conventions for methods
+# that are not simple inline getters and setters
+# - Check that base classes have virtual destructors
+# put " // namespace" after } that closes a namespace, with
+# namespace's name after 'namespace' if it is named.
+# - Do not indent namespace contents
+# - Avoid inlining non-trivial constructors in header files
+# include base/basictypes.h if DISALLOW_EVIL_CONSTRUCTORS is used
+# - Check for old-school (void) cast for call-sites of functions
+# ignored return value
+# - Check gUnit usage of anonymous namespace
+# - Check for class declaration order (typedefs, consts, enums,
+# ctor(s?), dtor, friend declarations, methods, member vars)
+#
+
+"""Does google-lint on c++ files.
+
+The goal of this script is to identify places in the code that *may*
+be in non-compliance with google style. It does not attempt to fix
+up these problems -- the point is to educate. It does also not
+attempt to find all problems, or to ensure that everything it does
+find is legitimately a problem.
+
+In particular, we can get very confused by /* and // inside strings!
+We do a small hack, which is to ignore //'s with "'s after them on the
+same line, but it is far from perfect (in either direction).
+"""
+
+import codecs
+import getopt
+import math # for log
+import os
+import re
+import sre_compile
+import string
+import sys
+import unicodedata
+
+
+_USAGE = """
+Syntax: cpplint.py [--verbose=#] [--output=vs7] [--filter=-x,+y,...]
+ <file> [file] ...
+
+ The style guidelines this tries to follow are those in
+ http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
+
+ Every problem is given a confidence score from 1-5, with 5 meaning we are
+ certain of the problem, and 1 meaning it could be a legitimate construct.
+ This will miss some errors, and is not a substitute for a code review.
+
+ To prevent specific lines from being linted, add a '// NOLINT' comment to the
+ end of the line.
+
+ The files passed in will be linted; at least one file must be provided.
+ Linted extensions are .cc, .cpp, and .h. Other file types will be ignored.
+
+ Flags:
+
+ output=vs7
+ By default, the output is formatted to ease emacs parsing. Visual Studio
+ compatible output (vs7) may also be used. Other formats are unsupported.
+
+ verbose=#
+ Specify a number 0-5 to restrict errors to certain verbosity levels.
+
+ filter=-x,+y,...
+ Specify a comma-separated list of category-filters to apply: only
+ error messages whose category names pass the filters will be printed.
+ (Category names are printed with the message and look like
+ "[whitespace/indent]".) Filters are evaluated left to right.
+ "-FOO" and "FOO" means "do not print categories that start with FOO".
+ "+FOO" means "do print categories that start with FOO".
+
+ Examples: --filter=-whitespace,+whitespace/braces
+ --filter=whitespace,runtime/printf,+runtime/printf_format
+ --filter=-,+build/include_what_you_use
+
+ To see a list of all the categories used in cpplint, pass no arg:
+ --filter=
+"""
+
+# We categorize each error message we print. Here are the categories.
+# We want an explicit list so we can list them all in cpplint --filter=.
+# If you add a new error message with a new category, add it to the list
+# here! cpplint_unittest.py should tell you if you forget to do this.
+_ERROR_CATEGORIES = """\
+ build/class
+ build/deprecated
+ build/endif_comment
+ build/forward_decl
+ build/header_guard
+ build/include
+ build/include_order
+ build/include_what_you_use
+ build/namespaces
+ build/printf_format
+ build/storage_class
+ legal/copyright
+ readability/braces
+ readability/casting
+ readability/check
+ readability/constructors
+ readability/fn_size
+ readability/function
+ readability/multiline_comment
+ readability/multiline_string
+ readability/streams
+ readability/todo
+ readability/utf8
+ runtime/arrays
+ runtime/casting
+ runtime/explicit
+ runtime/int
+ runtime/init
+ runtime/memset
+ runtime/printf
+ runtime/printf_format
+ runtime/references
+ runtime/rtti
+ runtime/sizeof
+ runtime/string
+ runtime/threadsafe_fn
+ runtime/virtual
+ whitespace/blank_line
+ whitespace/braces
+ whitespace/comma
+ whitespace/comments
+ whitespace/end_of_line
+ whitespace/ending_newline
+ whitespace/indent
+ whitespace/labels
+ whitespace/line_length
+ whitespace/newline
+ whitespace/operators
+ whitespace/parens
+ whitespace/semicolon
+ whitespace/tab
+ whitespace/todo
+"""
+
+# We used to check for high-bit characters, but after much discussion we
+# decided those were OK, as long as they were in UTF-8 and didn't represent
+# hard-coded international strings, which belong in a seperate i18n file.
+
+# Headers that we consider STL headers.
+_STL_HEADERS = frozenset([
+ 'algobase.h', 'algorithm', 'alloc.h', 'bitset', 'deque', 'exception',
+ 'function.h', 'functional', 'hash_map', 'hash_map.h', 'hash_set',
+ 'hash_set.h', 'iterator', 'list', 'list.h', 'map', 'memory', 'pair.h',
+ 'pthread_alloc', 'queue', 'set', 'set.h', 'sstream', 'stack',
+ 'stl_alloc.h', 'stl_relops.h', 'type_traits.h',
+ 'utility', 'vector', 'vector.h',
+ ])
+
+
+# Non-STL C++ system headers.
+_CPP_HEADERS = frozenset([
+ 'algo.h', 'builtinbuf.h', 'bvector.h', 'cassert', 'cctype',
+ 'cerrno', 'cfloat', 'ciso646', 'climits', 'clocale', 'cmath',
+ 'complex', 'complex.h', 'csetjmp', 'csignal', 'cstdarg', 'cstddef',
+ 'cstdio', 'cstdlib', 'cstring', 'ctime', 'cwchar', 'cwctype',
+ 'defalloc.h', 'deque.h', 'editbuf.h', 'exception', 'fstream',
+ 'fstream.h', 'hashtable.h', 'heap.h', 'indstream.h', 'iomanip',
+ 'iomanip.h', 'ios', 'iosfwd', 'iostream', 'iostream.h', 'istream.h',
+ 'iterator.h', 'limits', 'map.h', 'multimap.h', 'multiset.h',
+ 'numeric', 'ostream.h', 'parsestream.h', 'pfstream.h', 'PlotFile.h',
+ 'procbuf.h', 'pthread_alloc.h', 'rope', 'rope.h', 'ropeimpl.h',
+ 'SFile.h', 'slist', 'slist.h', 'stack.h', 'stdexcept',
+ 'stdiostream.h', 'streambuf.h', 'stream.h', 'strfile.h', 'string',
+ 'strstream', 'strstream.h', 'tempbuf.h', 'tree.h', 'typeinfo', 'valarray',
+ ])
+
+
+# Assertion macros. These are defined in base/logging.h and
+# testing/base/gunit.h. Note that the _M versions need to come first
+# for substring matching to work.
+_CHECK_MACROS = [
+ 'CHECK',
+ 'EXPECT_TRUE_M', 'EXPECT_TRUE',
+ 'ASSERT_TRUE_M', 'ASSERT_TRUE',
+ 'EXPECT_FALSE_M', 'EXPECT_FALSE',
+ 'ASSERT_FALSE_M', 'ASSERT_FALSE',
+ ]
+
+# Replacement macros for CHECK/EXPECT_TRUE/EXPECT_FALSE
+_CHECK_REPLACEMENT = dict([(m, {}) for m in _CHECK_MACROS])
+
+for op, replacement in [('==', 'EQ'), ('!=', 'NE'),
+ ('>=', 'GE'), ('>', 'GT'),
+ ('<=', 'LE'), ('<', 'LT')]:
+ _CHECK_REPLACEMENT['CHECK'][op] = 'CHECK_%s' % replacement
+ _CHECK_REPLACEMENT['EXPECT_TRUE'][op] = 'EXPECT_%s' % replacement
+ _CHECK_REPLACEMENT['ASSERT_TRUE'][op] = 'ASSERT_%s' % replacement
+ _CHECK_REPLACEMENT['EXPECT_TRUE_M'][op] = 'EXPECT_%s_M' % replacement
+ _CHECK_REPLACEMENT['ASSERT_TRUE_M'][op] = 'ASSERT_%s_M' % replacement
+
+for op, inv_replacement in [('==', 'NE'), ('!=', 'EQ'),
+ ('>=', 'LT'), ('>', 'LE'),
+ ('<=', 'GT'), ('<', 'GE')]:
+ _CHECK_REPLACEMENT['EXPECT_FALSE'][op] = 'EXPECT_%s' % inv_replacement
+ _CHECK_REPLACEMENT['ASSERT_FALSE'][op] = 'ASSERT_%s' % inv_replacement
+ _CHECK_REPLACEMENT['EXPECT_FALSE_M'][op] = 'EXPECT_%s_M' % inv_replacement
+ _CHECK_REPLACEMENT['ASSERT_FALSE_M'][op] = 'ASSERT_%s_M' % inv_replacement
+
+
+# These constants define types of headers for use with
+# _IncludeState.CheckNextIncludeOrder().
+_C_SYS_HEADER = 1
+_CPP_SYS_HEADER = 2
+_LIKELY_MY_HEADER = 3
+_POSSIBLE_MY_HEADER = 4
+_OTHER_HEADER = 5
+
+
+_regexp_compile_cache = {}
+
+
+def Match(pattern, s):
+ """Matches the string with the pattern, caching the compiled regexp."""
+ # The regexp compilation caching is inlined in both Match and Search for
+ # performance reasons; factoring it out into a separate function turns out
+ # to be noticeably expensive.
+ if not pattern in _regexp_compile_cache:
+ _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
+ return _regexp_compile_cache[pattern].match(s)
+
+
+def Search(pattern, s):
+ """Searches the string for the pattern, caching the compiled regexp."""
+ if not pattern in _regexp_compile_cache:
+ _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
+ return _regexp_compile_cache[pattern].search(s)
+
+
+class _IncludeState(dict):
+ """Tracks line numbers for includes, and the order in which includes appear.
+
+ As a dict, an _IncludeState object serves as a mapping between include
+ filename and line number on which that file was included.
+
+ Call CheckNextIncludeOrder() once for each header in the file, passing
+ in the type constants defined above. Calls in an illegal order will
+ raise an _IncludeError with an appropriate error message.
+
+ """
+ # self._section will move monotonically through this set. If it ever
+ # needs to move backwards, CheckNextIncludeOrder will raise an error.
+ _INITIAL_SECTION = 0
+ _MY_H_SECTION = 1
+ _C_SECTION = 2
+ _CPP_SECTION = 3
+ _OTHER_H_SECTION = 4
+
+ _TYPE_NAMES = {
+ _C_SYS_HEADER: 'C system header',
+ _CPP_SYS_HEADER: 'C++ system header',
+ _LIKELY_MY_HEADER: 'header this file implements',
+ _POSSIBLE_MY_HEADER: 'header this file may implement',
+ _OTHER_HEADER: 'other header',
+ }
+ _SECTION_NAMES = {
+ _INITIAL_SECTION: "... nothing. (This can't be an error.)",
+ _MY_H_SECTION: 'a header this file implements',
+ _C_SECTION: 'C system header',
+ _CPP_SECTION: 'C++ system header',
+ _OTHER_H_SECTION: 'other header',
+ }
+
+ def __init__(self):
+ dict.__init__(self)
+ self._section = self._INITIAL_SECTION
+
+ def CheckNextIncludeOrder(self, header_type):
+ """Returns a non-empty error message if the next header is out of order.
+
+ This function also updates the internal state to be ready to check
+ the next include.
+
+ Args:
+ header_type: One of the _XXX_HEADER constants defined above.
+
+ Returns:
+ The empty string if the header is in the right order, or an
+ error message describing what's wrong.
+
+ """
+ error_message = ('Found %s after %s' %
+ (self._TYPE_NAMES[header_type],
+ self._SECTION_NAMES[self._section]))
+
+ if header_type == _C_SYS_HEADER:
+ if self._section <= self._C_SECTION:
+ self._section = self._C_SECTION
+ else:
+ return error_message
+ elif header_type == _CPP_SYS_HEADER:
+ if self._section <= self._CPP_SECTION:
+ self._section = self._CPP_SECTION
+ else:
+ return error_message
+ elif header_type == _LIKELY_MY_HEADER:
+ if self._section <= self._MY_H_SECTION:
+ self._section = self._MY_H_SECTION
+ else:
+ self._section = self._OTHER_H_SECTION
+ elif header_type == _POSSIBLE_MY_HEADER:
+ if self._section <= self._MY_H_SECTION:
+ self._section = self._MY_H_SECTION
+ else:
+ # This will always be the fallback because we're not sure
+ # enough that the header is associated with this file.
+ self._section = self._OTHER_H_SECTION
+ else:
+ assert header_type == _OTHER_HEADER
+ self._section = self._OTHER_H_SECTION
+
+ return ''
+
+
+class _CppLintState(object):
+ """Maintains module-wide state.."""
+
+ def __init__(self):
+ self.verbose_level = 1 # global setting.
+ self.error_count = 0 # global count of reported errors
+ self.filters = [] # filters to apply when emitting error messages
+
+ # output format:
+ # "emacs" - format that emacs can parse (default)
+ # "vs7" - format that Microsoft Visual Studio 7 can parse
+ self.output_format = 'emacs'
+
+ def SetOutputFormat(self, output_format):
+ """Sets the output format for errors."""
+ self.output_format = output_format
+
+ def SetVerboseLevel(self, level):
+ """Sets the module's verbosity, and returns the previous setting."""
+ last_verbose_level = self.verbose_level
+ self.verbose_level = level
+ return last_verbose_level
+
+ def SetFilters(self, filters):
+ """Sets the error-message filters.
+
+ These filters are applied when deciding whether to emit a given
+ error message.
+
+ Args:
+ filters: A string of comma-separated filters (eg "+whitespace/indent").
+ Each filter should start with + or -; else we die.
+ """
+ if not filters:
+ self.filters = []
+ else:
+ self.filters = filters.split(',')
+ for filt in self.filters:
+ if not (filt.startswith('+') or filt.startswith('-')):
+ raise ValueError('Every filter in --filters must start with + or -'
+ ' (%s does not)' % filt)
+
+ def ResetErrorCount(self):
+ """Sets the module's error statistic back to zero."""
+ self.error_count = 0
+
+ def IncrementErrorCount(self):
+ """Bumps the module's error statistic."""
+ self.error_count += 1
+
+
+_cpplint_state = _CppLintState()
+
+
+def _OutputFormat():
+ """Gets the module's output format."""
+ return _cpplint_state.output_format
+
+
+def _SetOutputFormat(output_format):
+ """Sets the module's output format."""
+ _cpplint_state.SetOutputFormat(output_format)
+
+
+def _VerboseLevel():
+ """Returns the module's verbosity setting."""
+ return _cpplint_state.verbose_level
+
+
+def _SetVerboseLevel(level):
+ """Sets the module's verbosity, and returns the previous setting."""
+ return _cpplint_state.SetVerboseLevel(level)
+
+
+def _Filters():
+ """Returns the module's list of output filters, as a list."""
+ return _cpplint_state.filters
+
+
+def _SetFilters(filters):
+ """Sets the module's error-message filters.
+
+ These filters are applied when deciding whether to emit a given
+ error message.
+
+ Args:
+ filters: A string of comma-separated filters (eg "whitespace/indent").
+ Each filter should start with + or -; else we die.
+ """
+ _cpplint_state.SetFilters(filters)
+
+
+class _FunctionState(object):
+ """Tracks current function name and the number of lines in its body."""
+
+ _NORMAL_TRIGGER = 250 # for --v=0, 500 for --v=1, etc.
+ _TEST_TRIGGER = 400 # about 50% more than _NORMAL_TRIGGER.
+
+ def __init__(self):
+ self.in_a_function = False
+ self.lines_in_function = 0
+ self.current_function = ''
+
+ def Begin(self, function_name):
+ """Start analyzing function body.
+
+ Args:
+ function_name: The name of the function being tracked.
+ """
+ self.in_a_function = True
+ self.lines_in_function = 0
+ self.current_function = function_name
+
+ def Count(self):
+ """Count line in current function body."""
+ if self.in_a_function:
+ self.lines_in_function += 1
+
+ def Check(self, error, filename, linenum):
+ """Report if too many lines in function body.
+
+ Args:
+ error: The function to call with any errors found.
+ filename: The name of the current file.
+ linenum: The number of the line to check.
+ """
+ if Match(r'T(EST|est)', self.current_function):
+ base_trigger = self._TEST_TRIGGER
+ else:
+ base_trigger = self._NORMAL_TRIGGER
+ trigger = base_trigger * 2**_VerboseLevel()
+
+ if self.lines_in_function > trigger:
+ error_level = int(math.log(self.lines_in_function / base_trigger, 2))
+ # 50 => 0, 100 => 1, 200 => 2, 400 => 3, 800 => 4, 1600 => 5, ...
+ if error_level > 5:
+ error_level = 5
+ error(filename, linenum, 'readability/fn_size', error_level,
+ 'Small and focused functions are preferred:'
+ ' %s has %d non-comment lines'
+ ' (error triggered by exceeding %d lines).' % (
+ self.current_function, self.lines_in_function, trigger))
+
+ def End(self):
+ """Stop analizing function body."""
+ self.in_a_function = False
+
+
+class _IncludeError(Exception):
+ """Indicates a problem with the include order in a file."""
+ pass
+
+
+class FileInfo:
+ """Provides utility functions for filenames.
+
+ FileInfo provides easy access to the components of a file's path
+ relative to the project root.
+ """
+
+ def __init__(self, filename):
+ self._filename = filename
+
+ def FullName(self):
+ """Make Windows paths like Unix."""
+ return os.path.abspath(self._filename).replace('\\', '/')
+
+ def RepositoryName(self):
+ """FullName after removing the local path to the repository.
+
+ If we have a real absolute path name here we can try to do something smart:
+ detecting the root of the checkout and truncating /path/to/checkout from
+ the name so that we get header guards that don't include things like
+ "C:\Documents and Settings\..." or "/home/username/..." in them and thus
+ people on different computers who have checked the source out to different
+ locations won't see bogus errors.
+ """
+ fullname = self.FullName()
+
+ if os.path.exists(fullname):
+ project_dir = os.path.dirname(fullname)
+
+ if os.path.exists(os.path.join(project_dir, ".svn")):
+ # If there's a .svn file in the current directory, we recursively look
+ # up the directory tree for the top of the SVN checkout
+ root_dir = project_dir
+ one_up_dir = os.path.dirname(root_dir)
+ while os.path.exists(os.path.join(one_up_dir, ".svn")):
+ root_dir = os.path.dirname(root_dir)
+ one_up_dir = os.path.dirname(one_up_dir)
+
+ prefix = os.path.commonprefix([root_dir, project_dir])
+ return fullname[len(prefix) + 1:]
+
+ # Not SVN? Try to find a git top level directory by searching up from the
+ # current path.
+ root_dir = os.path.dirname(fullname)
+ while (root_dir != os.path.dirname(root_dir) and
+ not os.path.exists(os.path.join(root_dir, ".git"))):
+ root_dir = os.path.dirname(root_dir)
+ if os.path.exists(os.path.join(root_dir, ".git")):
+ prefix = os.path.commonprefix([root_dir, project_dir])
+ return fullname[len(prefix) + 1:]
+
+ # Don't know what to do; header guard warnings may be wrong...
+ return fullname
+
+ def Split(self):
+ """Splits the file into the directory, basename, and extension.
+
+ For 'chrome/browser/browser.cc', Split() would
+ return ('chrome/browser', 'browser', '.cc')
+
+ Returns:
+ A tuple of (directory, basename, extension).
+ """
+
+ googlename = self.RepositoryName()
+ project, rest = os.path.split(googlename)
+ return (project,) + os.path.splitext(rest)
+
+ def BaseName(self):
+ """File base name - text after the final slash, before the final period."""
+ return self.Split()[1]
+
+ def Extension(self):
+ """File extension - text following the final period."""
+ return self.Split()[2]
+
+ def NoExtension(self):
+ """File has no source file extension."""
+ return '/'.join(self.Split()[0:2])
+
+ def IsSource(self):
+ """File has a source file extension."""
+ return self.Extension()[1:] in ('c', 'cc', 'cpp', 'cxx')
+
+
+def _ShouldPrintError(category, confidence):
+ """Returns true iff confidence >= verbose, and category passes filter."""
+ # There are two ways we might decide not to print an error message:
+ # the verbosity level isn't high enough, or the filters filter it out.
+ if confidence < _cpplint_state.verbose_level:
+ return False
+
+ is_filtered = False
+ for one_filter in _Filters():
+ if one_filter.startswith('-'):
+ if category.startswith(one_filter[1:]):
+ is_filtered = True
+ elif one_filter.startswith('+'):
+ if category.startswith(one_filter[1:]):
+ is_filtered = False
+ else:
+ assert False # should have been checked for in SetFilter.
+ if is_filtered:
+ return False
+
+ return True
+
+
+def Error(filename, linenum, category, confidence, message):
+ """Logs the fact we've found a lint error.
+
+ We log where the error was found, and also our confidence in the error,
+ that is, how certain we are this is a legitimate style regression, and
+ not a misidentification or a use that's sometimes justified.
+
+ Args:
+ filename: The name of the file containing the error.
+ linenum: The number of the line containing the error.
+ category: A string used to describe the "category" this bug
+ falls under: "whitespace", say, or "runtime". Categories
+ may have a hierarchy separated by slashes: "whitespace/indent".
+ confidence: A number from 1-5 representing a confidence score for
+ the error, with 5 meaning that we are certain of the problem,
+ and 1 meaning that it could be a legitimate construct.
+ message: The error message.
+ """
+ # There are two ways we might decide not to print an error message:
+ # the verbosity level isn't high enough, or the filters filter it out.
+ if _ShouldPrintError(category, confidence):
+ _cpplint_state.IncrementErrorCount()
+ if _cpplint_state.output_format == 'vs7':
+ sys.stderr.write('%s(%s): %s [%s] [%d]\n' % (
+ filename, linenum, message, category, confidence))
+ else:
+ sys.stderr.write('%s:%s: %s [%s] [%d]\n' % (
+ filename, linenum, message, category, confidence))
+
+
+# Matches standard C++ escape esequences per 2.13.2.3 of the C++ standard.
+_RE_PATTERN_CLEANSE_LINE_ESCAPES = re.compile(
+ r'\\([abfnrtv?"\\\']|\d+|x[0-9a-fA-F]+)')
+# Matches strings. Escape codes should already be removed by ESCAPES.
+_RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES = re.compile(r'"[^"]*"')
+# Matches characters. Escape codes should already be removed by ESCAPES.
+_RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES = re.compile(r"'.'")
+# Matches multi-line C++ comments.
+# This RE is a little bit more complicated than one might expect, because we
+# have to take care of space removals tools so we can handle comments inside
+# statements better.
+# The current rule is: We only clear spaces from both sides when we're at the
+# end of the line. Otherwise, we try to remove spaces from the right side,
+# if this doesn't work we try on left side but only if there's a non-character
+# on the right.
+_RE_PATTERN_CLEANSE_LINE_C_COMMENTS = re.compile(
+ r"""(\s*/\*.*\*/\s*$|
+ /\*.*\*/\s+|
+ \s+/\*.*\*/(?=\W)|
+ /\*.*\*/)""", re.VERBOSE)
+
+
+def IsCppString(line):
+ ""