diff --git a/README.md b/README.md index e676cc8..ed018db 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ **TCPMon** is a program that allows you to send and receive data using TCP connections.\ It's useful for debugging a protocol that you might be implementing. -## BinarySchema -Since working with bytes directly can be difficult at times, you can use BinarySchema to describe a schema for the data you're sending and receiving. +## Schema +Since working with bytes directly can be difficult at times, you can use Schema to describe a schema for the data you're sending and receiving. Each data monitor instance can have a schema loaded, Blaze can also work with schemas.\ Below is an example of a schema. @@ -56,4 +56,9 @@ The module hierarchy in TCPMon goes as follows: - Connection Module - User module -All of the variables described above can be accessed from your script by using `extern var ...;` \ No newline at end of file +All of the variables described above can be accessed from your script by using `extern var ...;` + +## TODO +TCPMon is not fully finished yet, its missing some features: +- Sending data to the server with Blaze +- Schema array syntax for arrays that end with a byte (i.e. `char[] until 0`) \ No newline at end of file diff --git a/BinarySchema/Decoder/DecodedValue.cs b/Schema/Decoder/DecodedValue.cs similarity index 100% rename from BinarySchema/Decoder/DecodedValue.cs rename to Schema/Decoder/DecodedValue.cs diff --git a/BinarySchema/Decoder/Decoder.cs b/Schema/Decoder/Decoder.cs similarity index 100% rename from BinarySchema/Decoder/Decoder.cs rename to Schema/Decoder/Decoder.cs diff --git a/BinarySchema/Decoder/SchemaObject.cs b/Schema/Decoder/SchemaObject.cs similarity index 100% rename from BinarySchema/Decoder/SchemaObject.cs rename to Schema/Decoder/SchemaObject.cs diff --git a/BinarySchema/Lexer/Lexer.cs b/Schema/Lexer/Lexer.cs similarity index 100% rename from BinarySchema/Lexer/Lexer.cs rename to Schema/Lexer/Lexer.cs diff --git a/BinarySchema/Lexer/Token.cs b/Schema/Lexer/Token.cs similarity index 100% rename from BinarySchema/Lexer/Token.cs rename to Schema/Lexer/Token.cs diff --git a/BinarySchema/Parse/Definition.cs b/Schema/Parse/Definition.cs similarity index 100% rename from BinarySchema/Parse/Definition.cs rename to Schema/Parse/Definition.cs diff --git a/BinarySchema/Parse/Expression.cs b/Schema/Parse/Expression.cs similarity index 100% rename from BinarySchema/Parse/Expression.cs rename to Schema/Parse/Expression.cs diff --git a/BinarySchema/Parse/Member.cs b/Schema/Parse/Member.cs similarity index 100% rename from BinarySchema/Parse/Member.cs rename to Schema/Parse/Member.cs diff --git a/BinarySchema/Parse/Parser.cs b/Schema/Parse/Parser.cs similarity index 100% rename from BinarySchema/Parse/Parser.cs rename to Schema/Parse/Parser.cs diff --git a/BinarySchema/Parse/Type.cs b/Schema/Parse/Type.cs similarity index 100% rename from BinarySchema/Parse/Type.cs rename to Schema/Parse/Type.cs diff --git a/BinarySchema/Properties/AssemblyInfo.cs b/Schema/Properties/AssemblyInfo.cs similarity index 89% rename from BinarySchema/Properties/AssemblyInfo.cs rename to Schema/Properties/AssemblyInfo.cs index c74b3c5..a77588b 100644 --- a/BinarySchema/Properties/AssemblyInfo.cs +++ b/Schema/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("BinarySchema")] +[assembly: AssemblyTitle("Schema")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BinarySchema")] -[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyProduct("Schema")] +[assembly: AssemblyCopyright("Copyright © Владимир Дабић 2024")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/BinarySchema/BinarySchema.csproj b/Schema/Schema.csproj similarity index 98% rename from BinarySchema/BinarySchema.csproj rename to Schema/Schema.csproj index 62b5d23..e53b207 100644 --- a/BinarySchema/BinarySchema.csproj +++ b/Schema/Schema.csproj @@ -7,7 +7,7 @@ {8BC02CDF-25E6-4143-A7BF-CD458D4E7B46} Library Properties - BinarySchema + Schema binschema v4.8.1 512 diff --git a/TCPMon.sln b/TCPMon.sln index 84555d9..2484d28 100644 --- a/TCPMon.sln +++ b/TCPMon.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 17.6.33801.468 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TCPMon", "TCPMon\TCPMon.csproj", "{611A270E-E4B2-410A-9F95-82BE9348F96C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BinarySchema", "BinarySchema\BinarySchema.csproj", "{8BC02CDF-25E6-4143-A7BF-CD458D4E7B46}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Schema", "Schema\Schema.csproj", "{8BC02CDF-25E6-4143-A7BF-CD458D4E7B46}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/TCPMon/TCPMon.csproj b/TCPMon/TCPMon.csproj index 1676160..67b4bbe 100644 --- a/TCPMon/TCPMon.csproj +++ b/TCPMon/TCPMon.csproj @@ -268,9 +268,9 @@ - + {8bc02cdf-25e6-4143-a7bf-cd458d4e7b46} - BinarySchema + Schema