Răsfoiți Sursa

fix windows encode utf8bom

jarodruan 2 ani în urmă
părinte
comite
7d908b3797
48 a modificat fișierele cu 48 adăugiri și 48 ștergeri
  1. 1 1
      examples/GrpcDemo/GrpcClient/helloworld.proto
  2. 1 1
      servant/protocol
  3. 1 1
      unit-test/certs.h
  4. 1 1
      unit-test/hello_test.cpp
  5. 1 1
      unit-test/hello_test.h
  6. 1 1
      unit-test/rpc/test_admin.cpp
  7. 1 1
      unit-test/rpc/test_async_rpc.cpp
  8. 1 1
      unit-test/rpc/test_auth.cpp
  9. 1 1
      unit-test/rpc/test_communicator.cpp
  10. 1 1
      unit-test/rpc/test_custom.cpp
  11. 1 1
      unit-test/rpc/test_dyeing.cpp
  12. 1 1
      unit-test/rpc/test_http.cpp
  13. 1 1
      unit-test/rpc/test_proxy_timeout.cpp
  14. 1 1
      unit-test/rpc/test_prx_update.cpp
  15. 1 1
      unit-test/rpc/test_push.cpp
  16. 1 1
      unit-test/rpc/test_registry.cpp
  17. 1 1
      unit-test/rpc/test_rpc.cpp
  18. 1 1
      unit-test/rpc/test_ssl.cpp
  19. 1 1
      unit-test/rpc/test_stat.cpp
  20. 1 1
      unit-test/rpc/test_trans.cpp
  21. 1 1
      unit-test/rpc/test_udp.cpp
  22. 1 1
      unit-test/rpc/test_win_server.cpp
  23. 1 1
      unit-test/rpc/test_wup.cpp
  24. 1 1
      unit-test/rpc/test_wup_trans.cpp
  25. 1 1
      unit-test/server/framework/ConfigImp.h
  26. 1 1
      unit-test/server/framework/DbHandle.cpp
  27. 1 1
      unit-test/server/framework/DbHandle.h
  28. 1 1
      unit-test/server/framework/LogImp.cpp
  29. 1 1
      unit-test/server/framework/LogImp.h
  30. 1 1
      unit-test/server/framework/QueryImp.cpp
  31. 1 1
      unit-test/server/framework/QueryImp.h
  32. 1 1
      unit-test/util/test_server.h
  33. 1 1
      unit-test/util/test_tc_cas.cpp
  34. 1 1
      unit-test/util/test_tc_coroutine.cpp
  35. 1 1
      unit-test/util/test_tc_epoller.cpp
  36. 1 1
      unit-test/util/test_tc_epoller_server.cpp
  37. 1 1
      unit-test/util/test_tc_http.cpp
  38. 1 1
      unit-test/util/test_tc_http_async.cpp
  39. 1 1
      unit-test/util/test_tc_network_buffer.cpp
  40. 1 1
      unit-test/util/test_tc_thread_pool.cpp
  41. 1 1
      unit-test/util/test_tc_timer.cpp
  42. 1 1
      util/include/util/tc_grpc.h
  43. 1 1
      util/include/util/tc_proxy_info.h
  44. 1 1
      util/include/util/tc_transceiver.h
  45. 1 1
      util/include/util/tc_uuid_generator.h
  46. 1 1
      util/src/tc_grpc.cpp
  47. 1 1
      util/src/tc_proxy_info.cpp
  48. 1 1
      util/src/tc_transceiver.cpp

+ 1 - 1
examples/GrpcDemo/GrpcClient/helloworld.proto

@@ -1,4 +1,4 @@
-// Copyright 2015 gRPC authors.
+// Copyright 2015 gRPC authors.
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.

+ 1 - 1
servant/protocol

@@ -1 +1 @@
-Subproject commit 39c6f87733710a28eb5e57e42558c7e016d84eba
+Subproject commit 0ba68259c4ab0e2cf712fce26cc78f317c02965a

+ 1 - 1
unit-test/certs.h

@@ -1,4 +1,4 @@
-#ifndef PATH_HEAER
+#ifndef PATH_HEAER
 #define PATH_HEAER
 
 #include "util/tc_config.h"

+ 1 - 1
unit-test/hello_test.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 

+ 1 - 1
unit-test/hello_test.h

@@ -1,4 +1,4 @@
-
+
 #include "server/HelloServer.h"
 #include "server/Hello.h"
 #include "gtest/gtest.h"

+ 1 - 1
unit-test/rpc/test_admin.cpp

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
unit-test/rpc/test_async_rpc.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, rpcASyncGlobalCommunicator)

+ 1 - 1
unit-test/rpc/test_auth.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, authSyncServerCommunicator)

+ 1 - 1
unit-test/rpc/test_communicator.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 #include "servant/CommunicatorEpoll.h"
 

+ 1 - 1
unit-test/rpc/test_custom.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, customSyncGlobalCommunicator)

+ 1 - 1
unit-test/rpc/test_dyeing.cpp

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
unit-test/rpc/test_http.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 //
 //TEST_F(HelloTest, sslSyncClient)

+ 1 - 1
unit-test/rpc/test_proxy_timeout.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 //#include "util/tc_socket_async.h"
 

+ 1 - 1
unit-test/rpc/test_prx_update.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 #include "servant/CommunicatorEpoll.h"
 #include "servant/ObjectProxy.h"

+ 1 - 1
unit-test/rpc/test_push.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, pushSyncGlobalCommunicator)

+ 1 - 1
unit-test/rpc/test_registry.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 #include "servant/CommunicatorEpoll.h"
 #include "servant/ObjectProxy.h"

+ 1 - 1
unit-test/rpc/test_rpc.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, rpcSyncGlobalCommunicator)

+ 1 - 1
unit-test/rpc/test_ssl.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 #if TARS_SSL

+ 1 - 1
unit-test/rpc/test_stat.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 #include "server/FrameworkServer.h"
 

+ 1 - 1
unit-test/rpc/test_trans.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, rpcTransGlobalCommunicator)

+ 1 - 1
unit-test/rpc/test_udp.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 #define UDP_ASYNC_COUNT 100

+ 1 - 1
unit-test/rpc/test_win_server.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 #include "../server/WinServer.h"
 

+ 1 - 1
unit-test/rpc/test_wup.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, wupSync)

+ 1 - 1
unit-test/rpc/test_wup_trans.cpp

@@ -1,4 +1,4 @@
-
+
 #include "hello_test.h"
 
 TEST_F(HelloTest, rpcWupTransGlobalCommunicator)

+ 1 - 1
unit-test/server/framework/ConfigImp.h

@@ -1,4 +1,4 @@
-
+
 
 #ifndef _CONFIGIMP_H_
 #define _CONFIGIMP_H_

+ 1 - 1
unit-test/server/framework/DbHandle.cpp

@@ -1,4 +1,4 @@
-
+
 #include <iterator>
 #include <algorithm>
 #include "DbHandle.h"

+ 1 - 1
unit-test/server/framework/DbHandle.h

@@ -1,4 +1,4 @@
-
+
 
 #ifndef __DB_HANDLE_H__
 #define __DB_HANDLE_H__

+ 1 - 1
unit-test/server/framework/LogImp.cpp

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
unit-test/server/framework/LogImp.h

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
unit-test/server/framework/QueryImp.cpp

@@ -1,4 +1,4 @@
-
+
 
 #include "QueryImp.h"
 #include "util/tc_logger.h"

+ 1 - 1
unit-test/server/framework/QueryImp.h

@@ -1,4 +1,4 @@
-
+
 #ifndef __QUERY_IMP_H__
 #define __QUERY_IMP_H__
 

+ 1 - 1
unit-test/util/test_server.h

@@ -1,4 +1,4 @@
-//
+//
 // Created by jarod on 2021/6/7.
 //
 

+ 1 - 1
unit-test/util/test_tc_cas.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_common.h"
+#include "util/tc_common.h"
 #include "util/tc_cas_queue.h"
 #include "util/tc_thread.h"
 #include "util/tc_autoptr.h"

+ 1 - 1
unit-test/util/test_tc_coroutine.cpp

@@ -1,4 +1,4 @@
-//
+//
 // Created by jarod on 2020/2/20.
 //
 

+ 1 - 1
unit-test/util/test_tc_epoller.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_epoller.h"
+#include "util/tc_epoller.h"
 #include "util/tc_common.h"
 #include "util/tc_logger.h"
 #include <thread>

+ 1 - 1
unit-test/util/test_tc_epoller_server.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_common.h"
+#include "util/tc_common.h"
 #include <thread>
 #include "gtest/gtest.h"
 #include "test_server.h"

+ 1 - 1
unit-test/util/test_tc_http.cpp

@@ -1,4 +1,4 @@
-//
+//
 // Created by jarod on 2020/2/20.
 //
 

+ 1 - 1
unit-test/util/test_tc_http_async.cpp

@@ -1,4 +1,4 @@
-//
+//
 // Created by jarod on 2020/2/20.
 //
 

+ 1 - 1
unit-test/util/test_tc_network_buffer.cpp

@@ -1,4 +1,4 @@
-//
+//
 // Created by jarod on 2020/2/20.
 //
 

+ 1 - 1
unit-test/util/test_tc_thread_pool.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_timer.h"
+#include "util/tc_timer.h"
 #include "util/tc_logger.h"
 #include "util/tc_common.h"
 #include "util/tc_thread_pool.h"

+ 1 - 1
unit-test/util/test_tc_timer.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_timer.h"
+#include "util/tc_timer.h"
 #include "util/tc_common.h"
 #include "util/tc_cron.h"
 #include "util/tc_epoller.h"

+ 1 - 1
util/include/util/tc_grpc.h

@@ -1,4 +1,4 @@
-#ifndef __TC_GRPC_PROTOCOL_H__
+#ifndef __TC_GRPC_PROTOCOL_H__
 #define __TC_GRPC_PROTOCOL_H__
 
 #include <unordered_map>

+ 1 - 1
util/include/util/tc_proxy_info.h

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
util/include/util/tc_transceiver.h

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
util/include/util/tc_uuid_generator.h

@@ -1,4 +1,4 @@
-
+
 #ifndef __TC_UUID_GENERATOR_H
 #define __TC_UUID_GENERATOR_H
 

+ 1 - 1
util/src/tc_grpc.cpp

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
util/src/tc_proxy_info.cpp

@@ -1,4 +1,4 @@
-/**
+/**
  * Tencent is pleased to support the open source community by making Tars available.
  *
  * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.

+ 1 - 1
util/src/tc_transceiver.cpp

@@ -1,4 +1,4 @@
-#include "util/tc_transceiver.h"
+#include "util/tc_transceiver.h"
 #include "util/tc_logger.h"
 #if TARS_SSL
 #include "util/tc_openssl.h"