Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Road to v0.9.0 #66

Merged
merged 59 commits into from Oct 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
a107522
stats examples fix
Turupawn Aug 28, 2018
599d634
Merge pull request #64 from Turupawn/devel
Turupawn Aug 28, 2018
323fe31
removed curl and z from CMakeLists
Turupawn Sep 1, 2018
c0d5386
result_total field added
Turupawn Sep 10, 2018
43bb9e3
Rating object added
Turupawn Sep 11, 2018
c2ff846
onGetUserRatings function added
Turupawn Sep 11, 2018
12102c2
get user ratings examples added
Turupawn Sep 11, 2018
b665615
removed duplicate ifdef code
Turupawn Sep 11, 2018
8f27fae
Merge pull request #7 from DBolical/master
Turupawn Sep 12, 2018
1076bba
the modfile creator now accepts .zip files too
Turupawn Sep 12, 2018
a2a00d0
travis badge added
Turupawn Sep 12, 2018
0f6dc5c
replaced minizip printfs with write log lines
Turupawn Sep 12, 2018
41b09a7
upload now returns an error if could not find modfile locally
Turupawn Sep 16, 2018
12d2a0e
delete modfile examples added
Turupawn Sep 17, 2018
1f51f6c
Merge pull request #65 from Turupawn/devel
Turupawn Sep 17, 2018
951de6d
Update README.md
Turupawn Sep 17, 2018
368b662
Merge pull request #8 from DBolical/master
Turupawn Sep 17, 2018
b487e46
generic headers functions moved to Utility.h
Turupawn Sep 22, 2018
cde8207
Merge branch 'devel' of https://github.com/Turupawn/modioSDK into devel
Turupawn Sep 22, 2018
7e8b69b
reducing the load on polling
Turupawn Sep 29, 2018
84f6059
provisional release patch
Turupawn Sep 30, 2018
f1c027f
now old cache is only cleared on startup
Turupawn Oct 1, 2018
2883970
removed internal subscription ids set and external functions
Turupawn Oct 1, 2018
228fa02
fix some memory leaks
Oct 5, 2018
4e1b1d4
Merge pull request #67 from leo-polymorph/fix-memory-leak
Turupawn Oct 6, 2018
7c05f92
Merge pull request #9 from DBolical/master
Turupawn Oct 6, 2018
dd38549
installed mods data is now loaded on startup and kept on ram
Turupawn Oct 6, 2018
007d254
Merge branch 'devel' of https://github.com/Turupawn/modioSDK into devel
Turupawn Oct 6, 2018
18565a9
build fix
Turupawn Oct 6, 2018
0bd46a2
added visual studio project sample and VLD
Turupawn Oct 6, 2018
0c1cf52
fixed more memory leaks
Turupawn Oct 8, 2018
5b857c8
moved curl and zlib to additional dependencies folder
Turupawn Oct 8, 2018
7f568e8
getModState doesn't do filesystem anymore
Turupawn Oct 8, 2018
ffcbc06
toJson() member functions replaced by standalone functions
Turupawn Oct 8, 2018
c4db46a
travis linux build fix
Turupawn Oct 8, 2018
fa031cb
travis linux build fix
Turupawn Oct 8, 2018
5c3822c
internal curl changes and more memory leak fixes
Turupawn Oct 12, 2018
e9d9bde
added a generic visual studio example and moved the __declspec defini…
Turupawn Oct 12, 2018
0cbc4b7
replaced curl form api with mime part
Turupawn Oct 12, 2018
a0a11fb
updated curl libs
Turupawn Oct 12, 2018
5cd5b46
installed mods list improvements
Turupawn Oct 13, 2018
1686276
installed mods list simplification
Turupawn Oct 13, 2018
d783fd9
added prefix to mod download queue
Turupawn Oct 13, 2018
8ce98ff
added static compilation flag
Turupawn Oct 15, 2018
15d4f0a
fixed valgrind error detections
Turupawn Oct 17, 2018
06b2f91
curl code simplification
Turupawn Oct 17, 2018
019d0ab
Update README.md
Turupawn Oct 18, 2018
9189c41
organized c callbacks
Turupawn Oct 19, 2018
2d3ab01
get user mod bugfix
Turupawn Oct 19, 2018
2f6f31e
callbacks code format
Turupawn Oct 19, 2018
5204f1f
added hasKey validations
Turupawn Oct 19, 2018
51e87bb
fixed memory leaks after mime form addition
Turupawn Oct 21, 2018
716d11f
Merge pull request #68 from Turupawn/devel
Turupawn Oct 21, 2018
feabcf9
removed nmake warnings
Turupawn Oct 21, 2018
04674a2
directory existance validations
Turupawn Oct 22, 2018
b734299
visual studio example is now browsing mods
Turupawn Oct 22, 2018
5c5d02f
adjusted log version release
Turupawn Oct 21, 2018
ca8863b
added version on log
Turupawn Oct 22, 2018
57897b3
Merge pull request #69 from Turupawn/devel
Turupawn Oct 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .vscode/settings.json
Expand Up @@ -72,6 +72,9 @@
"*.rh": "cpp",
"cstdarg": "cpp",
"deque": "cpp",
"cinttypes": "cpp"
"cinttypes": "cpp",
"stdio.h": "c",
"set": "cpp",
"unordered_set": "cpp"
}
}
10 changes: 6 additions & 4 deletions CMakeLists.txt
Expand Up @@ -3,12 +3,14 @@ project(modio)
set(CMAKE_BUILD_TYPE Release)
set (CMAKE_CXX_STANDARD 11)

add_definitions(-DBUILDING_MODIO_DLL -DCURL_STATICLIB)
# Use -DMODIO_STATICLIB instead of -DMODIO_DYNAMICLIB when building statically
add_definitions(-DMODIO_DYNAMICLIB -DCURL_STATICLIB)

include_directories(include)
include_directories(include additional_dependencies)

file(GLOB_RECURSE SOURCES "src/*.cpp")

# Use STATIC instead of SHARED to build when building statically
add_library(modio SHARED ${SOURCES})

IF (APPLE)
Expand All @@ -34,8 +36,8 @@ ENDIF()
IF (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
target_link_libraries(modio ${CMAKE_SOURCE_DIR}/lib/MSVC/x64/libcurl_a.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x64/zlib.lib )
target_link_libraries(modio ws2_32.lib wldap32.lib advapi32.lib kernel32.lib comdlg32.lib crypt32.lib normaliz.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x64/libcurl_a.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x64/zlib.lib )
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4)
target_link_libraries(modio ${CMAKE_SOURCE_DIR}/lib/MSVC/x86/libcurl_a.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x86/zlib.lib )
target_link_libraries(modio ws2_32.lib wldap32.lib advapi32.lib kernel32.lib comdlg32.lib crypt32.lib normaliz.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x86/libcurl_a.lib ${CMAKE_SOURCE_DIR}/lib/MSVC/x86/zlib.lib )
endif()
ENDIF()
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -4,7 +4,7 @@
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/DBolical/modioSDK/blob/master/LICENSE)
[![Discord](https://img.shields.io/discord/389039439487434752.svg)](https://discord.mod.io)
[![Master docs](https://img.shields.io/badge/docs-master-green.svg)](https://github.com/DBolical/modioSDK/wiki)

[![Travis](https://img.shields.io/travis/DBolical/modioSDK.svg?logo=travis)](https://travis-ci.org/DBolical/modioSDK)

Welcome to the [mod.io SDK](https://apps.mod.io/sdk) repository, built using C and C++. It allows game developers to host and automatically install user-created mods in their games. It connects to the [mod.io API](https://docs.mod.io), and [documentation for its functions](https://github.com/DBolical/modioSDK/wiki) can be viewed here.

Expand Down Expand Up @@ -49,5 +49,7 @@ Our aim with [mod.io](https://mod.io), is to provide an open modding API. You ar
* [Design](https://design.mod.io) is public and open source, the repository can be [found here](https://github.com/DBolical/modioDESIGN).
* [API documentation](https://docs.mod.io) is public and open source, the repository can be [found here](https://github.com/DBolical/modioAPIDOCS).
* [Browse engine tools](https://apps.mod.io), plugins and wrappers created by the community, or [share your own](https://apps.mod.io/add).
* [Unity plugin](https://github.com/DBolical/modioUNITY), easily manage the browsing and install of mods in Unity Engine games.
* [Unity plugin](https://github.com/DBolical/modioUNITY), easily manage the browsing and install of mods in Unity Engine games
* [Python wrapper](https://github.com/ClementJ18/mod.io), a python wrapper for the mod.io API
* [Rust wrapper](https://github.com/nickelc/modio-rs), rust interface for mod.io