Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tidycoder/mars
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Tencent/mars
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jan 8, 2017

  1. Copy the full SHA
    c77a543 View commit details
  2. Copy the full SHA
    e392cdb View commit details

Commits on Jan 9, 2017

  1. add README

    garryyan committed Jan 9, 2017
    Copy the full SHA
    d615b17 View commit details
  2. Copy the full SHA
    28a37fa View commit details
  3. fix onTaskEnd callback without param error

    update sdk version to 1.1.4
    shockcao committed Jan 9, 2017
    Copy the full SHA
    a400f79 View commit details
  4. Copy the full SHA
    dfebb49 View commit details
  5. fix python3 error

    Jinlin committed Jan 9, 2017
    Copy the full SHA
    73dc5b2 View commit details
  6. Merge pull request Tencent#83 from 5peak2me/dev

    fix python3 error
    garryyan authored Jan 9, 2017
    Copy the full SHA
    4895336 View commit details
  7. Copy the full SHA
    e8fcaa9 View commit details

Commits on Jan 10, 2017

  1. Added basic message ui.

    Changed from protobuf objc to standard protobuf.
    Regenerated protobuf files.
    Changed run script from every time to only when install.
    LawrenceHan committed Jan 10, 2017
    Copy the full SHA
    40ca420 View commit details

Commits on Jan 11, 2017

  1. Copy the full SHA
    a45a6d7 View commit details
  2. Merge pull request Tencent#93 from LawrenceHan/master

    Added basic message ui.
    garryyan authored Jan 11, 2017
    Copy the full SHA
    cdf591e View commit details
  3. update license

    garryyan committed Jan 11, 2017
    Copy the full SHA
    36a8850 View commit details
  4. delete redundancy interface

    shockcao committed Jan 11, 2017
    Copy the full SHA
    d12c4e6 View commit details
  5. Copy the full SHA
    f6e5dbe View commit details
  6. Copy the full SHA
    3432c78 View commit details
  7. Copy the full SHA
    9128d6b View commit details
  8. fix onTaskEnd callback without param error

    update sdk version to 1.1.4
    shockcao authored and garryyan committed Jan 11, 2017
    Copy the full SHA
    969c71d View commit details
  9. update mars sdk version to 1.1.4

    shockcao authored and garryyan committed Jan 11, 2017
    Copy the full SHA
    f8183f7 View commit details
  10. fix python3 error

    Jinlin authored and garryyan committed Jan 11, 2017
    Copy the full SHA
    0e0eb19 View commit details
  11. Added basic message ui.

    Changed from protobuf objc to standard protobuf.
    Regenerated protobuf files.
    Changed run script from every time to only when install.
    LawrenceHan authored and garryyan committed Jan 11, 2017
    Copy the full SHA
    ff61bd6 View commit details
  12. Unchanged run script option.

    LawrenceHan authored and garryyan committed Jan 11, 2017
    Copy the full SHA
    d220a64 View commit details
  13. update license

    garryyan committed Jan 11, 2017
    Copy the full SHA
    d69dc66 View commit details
  14. Copy the full SHA
    bb793a0 View commit details

Commits on Jan 12, 2017

  1. Copy the full SHA
    dd0e106 View commit details

Commits on Jan 13, 2017

  1. Merge branch 'github_dev'

    shockcao committed Jan 13, 2017
    Copy the full SHA
    d7a8453 View commit details
  2. Copy the full SHA
    c1649ee View commit details
  3. del nooping fail assert

    garryyan committed Jan 13, 2017
    Copy the full SHA
    d16d666 View commit details

Commits on Jan 16, 2017

  1. Copy the full SHA
    bdd9ff6 View commit details

Commits on Jan 18, 2017

  1. Copy the full SHA
    8ba6d11 View commit details
  2. Copy the full SHA
    7adf060 View commit details
  3. Copy the full SHA
    5fa2c6f View commit details
  4. fix static libraries build

    shockcao committed Jan 18, 2017
    Copy the full SHA
    3ef1d97 View commit details
  5. Copy the full SHA
    ea52ca5 View commit details

Commits on Jan 19, 2017

  1. modify android ndk build script

    zombie_task_manager code format
    shockcao committed Jan 19, 2017
    Copy the full SHA
    b5c9ec8 View commit details
  2. add comment for longlink_packer function

    fix xlogSample build error
    shockcao committed Jan 19, 2017
    Copy the full SHA
    b9cc907 View commit details
  3. add comment for longlink_packer function

    fix xlogSample build error
    shockcao committed Jan 19, 2017
    Copy the full SHA
    ffa1a5e View commit details
  4. Copy the full SHA
    c04f332 View commit details
  5. Copy the full SHA
    42a87cf View commit details

Commits on Jan 24, 2017

  1. SocketSelect->socketselect

    garryyan committed Jan 24, 2017
    Copy the full SHA
    0dcf2df View commit details

Commits on Jan 25, 2017

  1. Copy the full SHA
    3ab7714 View commit details

Commits on Feb 5, 2017

  1. fixed modify wild pointer

    garryyan committed Feb 5, 2017
    Copy the full SHA
    cdab07e View commit details
  2. Copy the full SHA
    7873ade View commit details
  3. Copy the full SHA
    1034b23 View commit details

Commits on Feb 8, 2017

  1. Copy the full SHA
    70df9bf View commit details
  2. Copy the full SHA
    5ad40a8 View commit details
  3. Copy the full SHA
    053db13 View commit details

Commits on Feb 9, 2017

  1. Copy the full SHA
    cc636e4 View commit details

Commits on Feb 10, 2017

  1. delete unused var

    garryyan committed Feb 10, 2017
    Copy the full SHA
    6719cd4 View commit details

Commits on Feb 13, 2017

  1. fix class attribute spelling

    shockcao committed Feb 13, 2017
    Copy the full SHA
    62a2656 View commit details
Showing 2,452 changed files with 651,802 additions and 230,236 deletions.
17 changes: 17 additions & 0 deletions .code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source:
# 文件或目录使用绝对路径,绝对路径按代码库根目录计算,以/开头。
# 提供产品代码库中编写的测试代码存放目录或文件名格式,以便后续代码统计环节进行排除等特殊处理
# 不要使用.*/等正则表达式屏蔽掉所有代码,会导致部门代码量骤减从而影响部门代码得分,还会导致Coverity扫不到任何代码而失败
# 请勿使用Tab键,将会导致yaml解析出错
# test_source:
# #用于匹配文件; 匹配方式为正则表达式。
# filepath_regex: [".*/java/test/.*", ".*/test.java"]
# 提供产品代码库中工具或框架自动生成的且在代码库中的代码,没有可为空。以便后续代码统计环节进行排除等特殊处理。
# auto_generate_source:
# # 自动生成代码文件的正则表达式,若无统一标识格式,可以指定具体目录,样例可参考test_source举例
# filepath_regex:
# 提供产品代码库中直接以源码形式存在的第三方代码目录或代码文件名的正则表达。
# 此处备注的第三方代码在后续统计代码量环节会被排除,若代码库中不存在需要排除的第三方代码,该项配置标识可为空
third_party_source:
#第三方代码文件的正则表达式,若无统一标识格式,可以指定具体目录,样例可参考test_source举例
filepath_regex:[".*/mars/zstd/.*", ".*/mars/googletest/.*", ".*/mars/googlemock/.*", ".*/mars/boost/.*"]
33 changes: 30 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,13 +6,12 @@
build/
/mars/captures
obj/

.vscode/
*.swp
*.pyc
xcuserdata
xcshareddata

/mars/comm/verinfo.h
/mars/libraries/*/
/mars/*/libs/
!/mars/boost/libs/
@@ -56,7 +55,7 @@ xcshareddata
/mars/log/win32proj/Debug/*.pdb
/mars/log/win32proj/Debug/log.tlog/*.tlog
/mars/log/win32proj/Debug/log.tlog/*.lastbuildstate
/mars/log/win32proj/Debug/log.tlog/*
/mars/xlog/win32proj/Debug/log.tlog/*
/samples/win32test/Debug/*.obj
/samples/win32test/Debug/*.idb
/samples/win32test/Debug/*.pdb
@@ -89,3 +88,31 @@ xcshareddata
.autotools
.cproject
.project
*.lib
*.pdb
mars/win32proj/Debug/mars.lastbuildstate
mars/win32proj/Debug/mars.unsuccessfulbuild
mars/comm/verinfo.h

# cmake
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
.vs
mars/*/Win32/Debug
mars/Win32/Debug
*.dir
*.out
Debug-iphonesimulator
*.xcodeproj
*.build
cmake_build
*.settings
mars/cmake-build-debug
mars/openssl/include/openssl/*
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -19,21 +19,21 @@ There are three main branches here:
1. `master` branch.
1. It is the latest (pre-)release branch. We use `master` for tags, with version number `1.1.0`, `1.2.0`, `1.3.0`...
2. **Don't submit any PR on `master` branch.**
2. `dev` branch.
1. It is our stable developing branch. After full testing, `dev` will be merged to `master` branch for the next release.
2. **You are recommended to submit bugfix or feature PR on `dev` branch.**
2. `develop` branch.
1. It is our stable developing branch. After full testing, `develop` will be merged to `master` branch for the next release.
2. **You are recommended to submit bugfix or feature PR on `develop` branch.**
3. `hotfix` branch.
1. It is the latest tag version for hot fix. If we accept your pull request, we may just tag with version number `1.1.1`, `1.2.3`.
2. **Only submit urgent PR on `hotfix` branch for next specific release.**

Normal bugfix or feature request should be submitted to `dev` branch. After full testing, we will merge them to `master` branch for the next release.
Normal bugfix or feature request should be submitted to `develop` branch. After full testing, we will merge them to `master` branch for the next release.

If you have some urgent bugfixes on a published version, but the `master` branch have already far away with the latest tag version, you can submit a PR on hotfix. And it will be cherry picked to `dev` branch if it is possible.
If you have some urgent bugfixes on a published version, but the `master` branch have already far away with the latest tag version, you can submit a PR on hotfix. And it will be cherry picked to `develop` branch if it is possible.

```
master
dev <--- hotfix PR
develop <--- hotfix PR
feature/bugfix PR
```
@@ -48,7 +48,7 @@ Before submitting a pull request, please make sure the followings are done:
3. Add the copyright notice to the top of any new files you've added.
4. Check your code lints and checkstyles.
5. Test and test again your code.
6. Now, you can submit your pull request on `dev` or `hotfix` branch.
6. Now, you can submit your pull request on `develop` or `hotfix` branch.

## Code Style Guide
Use [Code Style for C/C++](http://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/).
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -31,6 +31,9 @@ All rights reserved.
Copyright(c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches
All right reserved

5. google protobuf
Copyright 2014, Google Inc. All rights reserved.


Terms of the BSD 3-Clause License:
--------------------------------------------------------------------
@@ -262,3 +265,22 @@ The above copyright notice and this permission notice shall be included in all c

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



BSD 2-clause "Simplified" License
--------------------------------------------------------------------
micro-ecc

Copyright (c) 2014, Kenneth MacKay
All rights reserved.


Terms of the BSD 2-clause "Simplified" License:
--------------------------------------------------------------------
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.

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 HOLDER 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.
Loading