From 8cea57ff0f06e1cc7ec58716e8177e3a0b6e5ee9 Mon Sep 17 00:00:00 2001 From: txtsd Date: Sat, 6 Aug 2022 12:53:50 +0530 Subject: chore(markdown): MD022 Headings should be surrounded by blank lines Signed-off-by: txtsd --- libraries/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libraries') diff --git a/libraries/README.md b/libraries/README.md index f225ade8..2feaea9e 100644 --- a/libraries/README.md +++ b/libraries/README.md @@ -3,6 +3,7 @@ This folder has third-party or otherwise external libraries needed for other parts to work. ## classparser + A simplistic parser for Java class files. This library has served as a base for some (much more full-featured and advanced) work under NDA for AVG. It, however, should NOT be confused with that work. @@ -18,16 +19,19 @@ See [github repo](https://github.com/FeralInteractive/gamemode). BSD licensed ## hoedown + Hoedown is a revived fork of Sundown, the Markdown parser based on the original code of the Upskirt library by Natacha Porté. See [github repo](https://github.com/hoedown/hoedown). ## javacheck + Simple Java tool that prints the JVM details - version and platform bitness. Do what you want with it. It is so trivial that noone cares. ## Katabasis + Oauth2 library customized for Microsoft authentication. This is a fork of the [O2 library](https://github.com/pipacs/o2). @@ -35,6 +39,7 @@ This is a fork of the [O2 library](https://github.com/pipacs/o2). MIT licensed. ## launcher + Java launcher part for Minecraft. It: @@ -131,6 +136,7 @@ launcher onesix Available under `GPL-3.0-only` (with classpath exception), sublicensed from its original `Apache-2.0` codebase ## libnbtplusplus + libnbt++ is a free C++ library for Minecraft's file format Named Binary Tag (NBT). It can read and write compressed and uncompressed NBT files and provides a code interface for working with NBT data. See [github repo](https://github.com/ljfa-ag/libnbtplusplus). @@ -138,6 +144,7 @@ See [github repo](https://github.com/ljfa-ag/libnbtplusplus). Available either under LGPL version 3 or later. ## LocalPeer + Library for making only one instance of the application run at all times. BSD licensed, derived from [QtSingleApplication](https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication). @@ -157,6 +164,7 @@ A zip manipulation library, forked for MultiMC's use. LGPL 2.1 ## rainbow + Color functions extracted from [KGuiAddons](https://inqlude.org/libraries/kguiaddons.html). Used for adaptive text coloring. Available either under LGPL version 2.1 or later. -- cgit From 358f080c76dbdfc65f32e08448a5e38b78d2bab0 Mon Sep 17 00:00:00 2001 From: txtsd Date: Tue, 12 Jul 2022 20:46:06 +0530 Subject: chore(markdown): MD012 Multiple consecutive blank lines Signed-off-by: txtsd --- libraries/README.md | 1 - libraries/katabasis/acknowledgements.md | 2 -- libraries/tomlc99/README.md | 2 -- 3 files changed, 5 deletions(-) (limited to 'libraries') diff --git a/libraries/README.md b/libraries/README.md index 2feaea9e..90e836e1 100644 --- a/libraries/README.md +++ b/libraries/README.md @@ -188,4 +188,3 @@ Licenced under the MIT licence. Tiny implementation of LZMA2 de/compression. This format is only used by Forge to save bandwidth. Public domain. - diff --git a/libraries/katabasis/acknowledgements.md b/libraries/katabasis/acknowledgements.md index c1c8a3d4..21e73e5d 100644 --- a/libraries/katabasis/acknowledgements.md +++ b/libraries/katabasis/acknowledgements.md @@ -26,7 +26,6 @@ > 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. - # SimpleCrypt by Andre Somers Cryptographic methods for Qt. @@ -107,4 +106,3 @@ Bug fixes, support for ```qml``` module # Fabian Vogt Bug fixes, support for building without Qt keywords enabled - diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index 6715b5be..d2776448 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -10,7 +10,6 @@ If you are looking for a C++ library, you might try this wrapper: [https://githu [iarna/toml-spec-tests](https://github.com/iarna/toml-spec-tests). * Provides very simple and intuitive interface. - ## Usage Please see the `toml.h` file for details. What follows is a simple example that @@ -183,7 +182,6 @@ To test against the standard test set provided by BurntSushi/toml-test: % bash run.sh # this will run the test suite ``` - To test against the standard test set provided by iarna/toml: ```sh -- cgit From fba20e2cfb2bcf10b9987f74a3d454b59b079fa6 Mon Sep 17 00:00:00 2001 From: txtsd Date: Tue, 12 Jul 2022 21:04:57 +0530 Subject: chore(markdown): MD040 Fenced code blocks should have a language specified Signed-off-by: txtsd --- libraries/tomlc99/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index d2776448..103024f0 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -150,7 +150,7 @@ call was successful. If so, you may proceed to read the value corresponding to the type of the content. For example: -``` +```c toml_datum_t host = toml_string_in(tab, "host"); if (host.ok) { printf("host: %s\n", host.u.s); -- cgit From c7d435bb7a0405f5b841dad9a1e52e2479850c93 Mon Sep 17 00:00:00 2001 From: txtsd Date: Sat, 6 Aug 2022 12:57:11 +0530 Subject: chore(markdown): MD025 Multiple top-level headings in the same document Signed-off-by: txtsd --- libraries/katabasis/acknowledgements.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'libraries') diff --git a/libraries/katabasis/acknowledgements.md b/libraries/katabasis/acknowledgements.md index 21e73e5d..a2fbfa04 100644 --- a/libraries/katabasis/acknowledgements.md +++ b/libraries/katabasis/acknowledgements.md @@ -1,4 +1,4 @@ -# O2 library by Akos Polster and contributors +## O2 library by Akos Polster and contributors [The origin of this fork.](https://github.com/pipacs/o2) @@ -26,7 +26,7 @@ > 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. -# SimpleCrypt by Andre Somers +## SimpleCrypt by Andre Somers Cryptographic methods for Qt. @@ -56,7 +56,7 @@ Cryptographic methods for Qt. > (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS > SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Mandeep Sandhu +## Mandeep Sandhu Configurable settings storage, Twitter XAuth specialization, new demos, cleanups. @@ -67,42 +67,42 @@ Configurable settings storage, Twitter XAuth specialization, new demos, cleanups > Regards, > -mandeep" -# Sergey Gavrushkin +## Sergey Gavrushkin FreshBooks specialization -# Theofilos Intzoglou +## Theofilos Intzoglou Hubic specialization -# Dimitar +## Dimitar SurveyMonkey specialization -# David Brooks +## David Brooks CMake related fixes and improvements. -# Lukas Vogel +## Lukas Vogel Spotify support -# Alan Garny +## Alan Garny Windows DLL build support -# MartinMikita +## MartinMikita Bug fixes -# Larry Shaffer +## Larry Shaffer Versioning, shared lib, install target and header support -# Gilmanov Ildar +## Gilmanov Ildar Bug fixes, support for ```qml``` module -# Fabian Vogt +## Fabian Vogt Bug fixes, support for building without Qt keywords enabled -- cgit From 896337803951c46d6932c443e366281692c95f27 Mon Sep 17 00:00:00 2001 From: txtsd Date: Tue, 12 Jul 2022 22:43:05 +0530 Subject: chore(markdown): MD007 Unordered list indentation Signed-off-by: txtsd --- libraries/katabasis/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/katabasis/README.md b/libraries/katabasis/README.md index 08f3c9d1..621446e1 100644 --- a/libraries/katabasis/README.md +++ b/libraries/katabasis/README.md @@ -8,9 +8,9 @@ It may be possible to backport some of the changes to O2 in the future, but for Notes to contributors: - * Please follow the coding style of the existing source, where reasonable - * Code contributions are released under Simplified BSD License, as specified in LICENSE. Do not contribute if this license does not suit your code - * If you are interested in working on this, come to the PolyMC Discord server and talk first +* Please follow the coding style of the existing source, where reasonable +* Code contributions are released under Simplified BSD License, as specified in LICENSE. Do not contribute if this license does not suit your code +* If you are interested in working on this, come to the PolyMC Discord server and talk first ## Installation -- cgit From 3275bc4e93bee2179b0a8b5a30e71d8172aaa54e Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:06:12 +0530 Subject: chore(markdown): MD009 Trailing spaces Signed-off-by: txtsd --- libraries/katabasis/acknowledgements.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libraries') diff --git a/libraries/katabasis/acknowledgements.md b/libraries/katabasis/acknowledgements.md index a2fbfa04..ccc7c263 100644 --- a/libraries/katabasis/acknowledgements.md +++ b/libraries/katabasis/acknowledgements.md @@ -32,10 +32,10 @@ Cryptographic methods for Qt. > Copyright (c) 2011, Andre Somers > 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 @@ -44,7 +44,7 @@ Cryptographic methods for Qt. > * Neither the name of the Rathenau Instituut, Andre Somers 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 @@ -61,9 +61,9 @@ Cryptographic methods for Qt. Configurable settings storage, Twitter XAuth specialization, new demos, cleanups. > "Hi Akos, -> +> > I'm writing this mail to confirm that my contributions to the O2 library, available here https://github.com/pipacs/o2, can be freely distributed according to the project's license (as shown in the LICENSE file). -> +> > Regards, > -mandeep" -- cgit From 8085b2728d573693f05874de550171e50dbd111a Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:14:11 +0530 Subject: chore(markdown): MD032 Lists should be surrounded by blank lines Signed-off-by: txtsd --- libraries/README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'libraries') diff --git a/libraries/README.md b/libraries/README.md index 90e836e1..990d0597 100644 --- a/libraries/README.md +++ b/libraries/README.md @@ -43,6 +43,7 @@ MIT licensed. Java launcher part for Minecraft. It: + * Starts a process * Waits for a launch script on stdin * Consumes the launch script you feed it -- cgit From 19ecb1701e42eb277bfe5b185aec051a300f66dd Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:23:51 +0530 Subject: chore(markdown): MD031 Fenced code blocks should be surrounded by blank lines Signed-off-by: txtsd --- libraries/README.md | 1 + libraries/tomlc99/README.md | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'libraries') diff --git a/libraries/README.md b/libraries/README.md index 990d0597..e58f2273 100644 --- a/libraries/README.md +++ b/libraries/README.md @@ -57,6 +57,7 @@ A `legacy` and `onesix` launchers are available. * `onesix` can handle launching any Minecraft version, at the cost of some extra features `legacy` enables (custom window icon and title). Example (some parts have been censored): + ``` mod legacyjavafixer-1.0 mainClass net.minecraft.launchwrapper.Launch diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index 103024f0..8a144e70 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -102,6 +102,7 @@ general, all access functions on tables are named `toml_*_in(...)`. In the normal case, you know the key and its content type, and retrievals can be done using one of these functions: + ```c toml_string_in(tab, key); toml_bool_in(tab, key); @@ -113,6 +114,7 @@ toml_array_in(tab, key); ``` You can also interrogate the keys in a table using an integer index: + ```c toml_table_t* tab = toml_parse_file(...); for (int i = 0; ; i++) { @@ -127,11 +129,13 @@ for (int i = 0; ; i++) { TOML arrays can be deref-ed using integer indices. In general, all access methods on arrays are named `toml_*_at()`. To obtain the size of an array: + ```c int size = toml_array_nelem(arr); ``` To obtain the content of an array, use a valid index and call one of these functions: + ```c toml_string_at(arr, idx); toml_bool_at(arr, idx); @@ -150,6 +154,7 @@ call was successful. If so, you may proceed to read the value corresponding to the type of the content. For example: + ```c toml_datum_t host = toml_string_in(tab, "host"); if (host.ok) { -- cgit From 96a91e988d7e87c3185efc930cc38de4c24e5d96 Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:25:03 +0530 Subject: chore(markdown): MD010 Hard tabs Signed-off-by: txtsd --- libraries/tomlc99/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries') diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index 8a144e70..7a0eecff 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -17,8 +17,8 @@ parses this config file: ```toml [server] - host = "www.example.com" - port = [ 8080, 8181, 8282 ] + host = "www.example.com" + port = [ 8080, 8181, 8282 ] ``` The steps for getting values from our file is usually : @@ -158,8 +158,8 @@ For example: ```c toml_datum_t host = toml_string_in(tab, "host"); if (host.ok) { - printf("host: %s\n", host.u.s); - free(host.u.s); /* FREE applies to string and timestamp types only */ + printf("host: %s\n", host.u.s); + free(host.u.s); /* FREE applies to string and timestamp types only */ } ``` -- cgit From 123d1864f430ef23b3c1fc5627c2f16284136fca Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:25:49 +0530 Subject: chore(markdown): MD037 Spaces inside emphasis markers Signed-off-by: txtsd --- libraries/tomlc99/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index 7a0eecff..1ac4d8c9 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -163,7 +163,7 @@ if (host.ok) { } ``` -** IMPORTANT: if the accessed value is a string or a timestamp, you must call `free(datum.u.s)` or `free(datum.u.ts)` respectively after usage. ** +**IMPORTANT: if the accessed value is a string or a timestamp, you must call `free(datum.u.s)` or `free(datum.u.ts)` respectively after usage.** ## Building and installing -- cgit From 78dc0cfdf3aab90af359c8639a77e0165a916f2b Mon Sep 17 00:00:00 2001 From: txtsd Date: Wed, 13 Jul 2022 00:46:24 +0530 Subject: chore(markdown): MD001 Heading levels should only increment by one level at a time Signed-off-by: txtsd --- libraries/tomlc99/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/tomlc99/README.md b/libraries/tomlc99/README.md index 1ac4d8c9..e5fe9480 100644 --- a/libraries/tomlc99/README.md +++ b/libraries/tomlc99/README.md @@ -95,7 +95,7 @@ int main() } ``` -#### Accessing Table Content +### Accessing Table Content TOML tables are dictionaries where lookups are done using string keys. In general, all access functions on tables are named `toml_*_in(...)`. @@ -124,7 +124,7 @@ for (int i = 0; ; i++) { } ``` -#### Accessing Array Content +### Accessing Array Content TOML arrays can be deref-ed using integer indices. In general, all access methods on arrays are named `toml_*_at()`. @@ -146,7 +146,7 @@ toml_table_at(arr, idx); toml_array_at(arr, idx); ``` -#### toml_datum_t +### toml_datum_t Some `toml_*_at` and `toml_*_in` functions return a toml_datum_t structure. The `ok` flag in the structure indicates if the function -- cgit