From 107b828b6b8e86c94222fb9629913abb093126df Mon Sep 17 00:00:00 2001 From: Lee Bussy Date: Sat, 6 Mar 2021 17:12:00 -0600 Subject: [PATCH 1/5] Update copyright date --- LICENSE | 2 +- examples/Basic/Basic.ino | 2 +- src/LCBUrl.cpp | 2 +- src/LCBUrl.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 67eb7ac..8f1ad87 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2020 Lee C. Bussy +Copyright (c) 2019-2021 Lee C. Bussy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/examples/Basic/Basic.ino b/examples/Basic/Basic.ino index 0ab6545..3b2eec5 100644 --- a/examples/Basic/Basic.ino +++ b/examples/Basic/Basic.ino @@ -7,7 +7,7 @@ /* MIT License - Copyright (c) 2019-2020 Lee C. Bussy + Copyright (c) 2019-2021 Lee C. Bussy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/LCBUrl.cpp b/src/LCBUrl.cpp index de1ea40..753f154 100644 --- a/src/LCBUrl.cpp +++ b/src/LCBUrl.cpp @@ -6,7 +6,7 @@ /* MIT License - Copyright (c) 2019-2020 Lee C. Bussy + Copyright (c) 2019-2021 Lee C. Bussy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/LCBUrl.h b/src/LCBUrl.h index 292ade2..044d385 100644 --- a/src/LCBUrl.h +++ b/src/LCBUrl.h @@ -6,7 +6,7 @@ /* MIT License - Copyright (c) 2019-2020 Lee C. Bussy + Copyright (c) 2019-2021 Lee C. Bussy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 5b196f07c388c83d3bc169000628c305a9dc21ec Mon Sep 17 00:00:00 2001 From: Lee Bussy Date: Thu, 18 Mar 2021 14:04:18 -0500 Subject: [PATCH 2/5] Add *.ino test files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 2ce90a9..28b9bd1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ .piolibdeps .vscode *.code-workspace +src/*.ino # Prerequisites *.d From f43a2f32fe879f8a050454b31490baccd48ce942 Mon Sep 17 00:00:00 2001 From: Lee Bussy Date: Thu, 18 Mar 2021 14:04:49 -0500 Subject: [PATCH 3/5] Add all new methods --- keywords.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/keywords.txt b/keywords.txt index 77efb04..31e07ba 100644 --- a/keywords.txt +++ b/keywords.txt @@ -12,6 +12,7 @@ LCBUrl KEYWORD1 # Methods and Functions (KEYWORD2) ####################################### +getIPUrl KEYWORD2 setUrl KEYWORD2 getUrl KEYWORD2 getScheme KEYWORD2 @@ -21,11 +22,22 @@ getPassword KEYWORD2 getHost KEYWORD2 getPort KEYWORD2 getAuthority KEYWORD2 +getIPAuthority KEYWORD2 getPath KEYWORD2 getAfterPath KEYWORD2 getQuery KEYWORD2 getFragment KEYWORD2 +# Utility functions + +isMDNS KEYWORD2 +getIP KEYWORD2 +isValidIP KEYWORD2 +labelCount KEYWORD2 +isANumber KEYWORD2 +isValidLabel KEYWORD2 +isValidHostName KEYWORD2 + ####################################### # Instances (KEYWORD2) ####################################### From 3289da0a455a49b9e690017797b6ed233acabaa3 Mon Sep 17 00:00:00 2001 From: Lee Bussy Date: Thu, 18 Mar 2021 14:05:56 -0500 Subject: [PATCH 4/5] Get rid of debug --- src/LCBUrl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/LCBUrl.h b/src/LCBUrl.h index 044d385..17bbe85 100644 --- a/src/LCBUrl.h +++ b/src/LCBUrl.h @@ -28,6 +28,7 @@ */ // Ensure this library description is only included once + #ifndef _LCBURL_H #define _LCBURL_H @@ -44,8 +45,6 @@ #include #include -#include // DEBUG - // Library interface description class LCBUrl { From 46e41b51eaf9e8ff233ef977544ebe77c8a6d89f Mon Sep 17 00:00:00 2001 From: Lee Bussy Date: Thu, 18 Mar 2021 14:06:18 -0500 Subject: [PATCH 5/5] Bump version --- library.json | 2 +- library.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index 5b685a4..4c2b4d8 100644 --- a/library.json +++ b/library.json @@ -15,7 +15,7 @@ } ], "dependencies": {}, - "version": "1.1.3", + "version": "1.1.4", "frameworks": "arduino", "platforms": "*" } diff --git a/library.properties b/library.properties index 4f258ae..2982fde 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=LCBUrl -version=1.1.3 +version=1.1.4 author=Lee Bussy maintainer=Lee Bussy sentence=A library to manipulate URL strings