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: linksplatform/Equality
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.0.1
Choose a base ref
...
head repository: linksplatform/Equality
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 19, 2021

  1. Copy the full SHA
    8a83d68 View commit details

Commits on Aug 27, 2021

  1. Copy the full SHA
    462b284 View commit details

Commits on Oct 9, 2021

  1. Copy the full SHA
    0ba62ef View commit details

Commits on Oct 29, 2021

  1. Revert "Fix XML markup."

    This reverts commit 581c0a7.
    FreePhoenix888 committed Oct 29, 2021
    Copy the full SHA
    5c18adc View commit details
  2. Copy the full SHA
    e1bfe96 View commit details

Commits on Nov 6, 2021

  1. Copy the full SHA
    82b3bf0 View commit details

Commits on Nov 16, 2021

  1. Copy the full SHA
    a1690bc View commit details

Commits on May 23, 2022

  1. master->main

    FreePhoenix888 committed May 23, 2022
    Copy the full SHA
    447f209 View commit details

Commits on May 31, 2022

  1. Add cpp.yml

    FreePhoenix888 committed May 31, 2022
    Copy the full SHA
    6acf5c8 View commit details
  2. Add csharp.yml

    FreePhoenix888 committed May 31, 2022
    Copy the full SHA
    7d7a1b0 View commit details

Commits on Jun 7, 2022

  1. Copy the full SHA
    91a207a View commit details
  2. Add conanfile

    FreePhoenix888 committed Jun 7, 2022
    Copy the full SHA
    facfef9 View commit details
  3. Delete fonanfile

    FreePhoenix888 committed Jun 7, 2022
    Copy the full SHA
    3528eb7 View commit details

Commits on Jul 23, 2022

  1. Rename workflow names

    FreePhoenix888 committed Jul 23, 2022
    Copy the full SHA
    b1e29c6 View commit details
  2. Rename workflow names

    FreePhoenix888 committed Jul 23, 2022
    Copy the full SHA
    406dd1b View commit details

Commits on Aug 11, 2022

  1. Copy the full SHA
    3984af9 View commit details

Commits on Nov 5, 2022

  1. Copy the full SHA
    91923b7 View commit details

Commits on Jun 23, 2023

  1. Delete cpp.yml

    nassipkali authored Jun 23, 2023
    Copy the full SHA
    5ab5dfb View commit details
  2. Add files via upload

    nassipkali authored Jun 23, 2023
    Copy the full SHA
    05ce218 View commit details
  3. Delete CD.yml

    nassipkali authored Jun 23, 2023
    Copy the full SHA
    20a1dd4 View commit details

Commits on Oct 13, 2024

  1. Copy the full SHA
    6425def View commit details
14 changes: 14 additions & 0 deletions .github/workflows/AutoMerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: auto-merge

on:
pull_request_target:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTO_MERGE_TOKEN }}
38 changes: 0 additions & 38 deletions .github/workflows/CD.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/cpp-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test cpp

on:
push:
branches:
- 'main'
paths:
- 'cpp/**.h'
- 'cpp/**.cpp'
- 'cpp/CMakeLists.txt'
- 'cpp/conanfile.txt'
pull_request:
types:
- edited
branches:
- 'main'
paths:
- 'cpp/**.h'
- 'cpp/**.cpp'
- 'cpp/CMakeLists.txt'
- 'cpp/conanfile.txt'

jobs:
main:
uses: linksplatform/Workflows/.github/workflows/cpp-test.yml@main
16 changes: 16 additions & 0 deletions .github/workflows/deploy-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy new cpp version

on:
push:
branches: main
paths:
- 'cpp/**/*.nuspec'
workflow_dispatch:

jobs:
main:
uses: linksplatform/Workflows/.github/workflows/deploy-cpp.yml@main
with:
recipe_folder: "platform.delegates"
secrets:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
189 changes: 24 additions & 165 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,165 +1,24 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

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

For more information, please refer to <http://unlicense.org>
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
[![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Equality.TemplateLibrary?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Equality.TemplateLibrary)
[![ConanCenter package](https://repology.org/badge/version-for-repo/conancenter/platform.equality.svg)](https://conan.io/center/platform.equality)

# Equality

LinksPlatform's Platform::Equality Template Class Library
4 changes: 0 additions & 4 deletions cpp/Platform.Equality/Platform.Equality.Any.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#pragma once

#ifndef PLATFORM_EQUALITY_ANY
#define PLATFORM_EQUALITY_ANY

#include <any>
#include <concepts>
#include <stdexcept>
@@ -95,4 +92,3 @@ namespace std
}
}

#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef PLATFORM_EQUALITY_EQUALITY_COMPARER_FUNCTION_TYPE
#define PLATFORM_EQUALITY_EQUALITY_COMPARER_FUNCTION_TYPE
#pragma once

#include <functional>

@@ -8,5 +7,3 @@ namespace Platform::Equality
template<typename TValue>
using EqualityComparerFunctionType = std::function<bool(const TValue&, const TValue&)>;
}

#endif//PLATFORM_EQUALITY_EQUALITY_COMPARER_FUNCTION_TYPE
5 changes: 0 additions & 5 deletions cpp/Platform.Equality/Platform.Equality.Range.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#pragma once

#ifndef PLATFORM_EQUALITY_RANGE
#define PLATFORM_EQUALITY_RANGE

#include <algorithm>
#include <concepts>
#include <functional>
@@ -19,5 +16,3 @@ namespace std
}
};
}

#endif//PLATFORM_EQUALITY_RANGE
14 changes: 3 additions & 11 deletions cpp/Platform.Equality/Platform.Equality.TemplateLibrary.nuspec
Original file line number Diff line number Diff line change
@@ -7,23 +7,15 @@
<description>LinksPlatform's Platform.Equality is a Template Library adds more comparison features for using std::unordered_map</description>
<releaseNotes>Initial release.</releaseNotes>
<version>0.0.1</version>
<authors>konard,uselessgoddess</authors>
<owners>konard,uselessgoddess</owners>
<copyright>konard,uselessgoddess</copyright>
<authors>uselessgoddess</authors>
<owners>konard, uselessgoddess/owners>
<copyright>uselessgoddess</copyright>
<projectUrl>https://linksplatform.github.io/Equality</projectUrl>
<repository type="git" url="https://github.com/linksplatform/Equality" />
<icon>images/icon.png</icon>
<tags>C++ Native Equality</tags>
<license type="expression">LGPL-3.0-only</license>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
</metadata>
<files>
<file src="icon.png" target="images/icon.png" />
<file src="Platform.Equality.TemplateLibrary.targets" target="build\native\Platform.Equality.TemplateLibrary.targets" />
<file src="Platform.Equality.h" target="lib\native\include\Platform.Equality.h" />
<file src="Platform.Equality.Range.h" target="lib\native\include\Platform.Equality.Range.h" />
<file src="Platform.Equality.EqualityComparerFunctionType.h" target="lib\native\include\Platform.Equality.EqualityComparerFunctionType.h" />
<file src="Platform.Equality.Any.h" target="lib\native\include\Platform.Equality.Any.h" />
</files>
</package>

13 changes: 0 additions & 13 deletions cpp/Platform.Equality/Platform.Equality.TemplateLibrary.targets

This file was deleted.

5 changes: 0 additions & 5 deletions cpp/Platform.Equality/Platform.Equality.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#pragma once

#ifndef PLATFORM_EQUALITY
#define PLATFORM_EQUALITY

#include "Platform.Equality.Any.h"
#include "Platform.Equality.EqualityComparerFunctionType.h"
#include "Platform.Equality.Range.h"

#endif //PLATFORM_EQUALITY