Pārlūkot izejas kodu

HTTPS all the things.

Ryan C. Gordon 10 gadi atpakaļ
vecāks
revīzija
32d4f4541e

+ 1 - 1
docs/CHANGELOG.txt

@@ -6,6 +6,6 @@ The changelog is no longer maintained by hand. It made sense to have a single
 If you want a list of changes, updated in real time, just point your web
 If you want a list of changes, updated in real time, just point your web
  browser here:
  browser here:
 
 
-    http://hg.icculus.org/icculus/physfs/
+    https://hg.icculus.org/icculus/physfs/
 
 
 
 

+ 1 - 1
extras/makecasefoldhashtable.pl

@@ -5,7 +5,7 @@ use strict;
 
 
 print <<__EOF__;
 print <<__EOF__;
 /*
 /*
- * This file is part of PhysicsFS (http://icculus.org/physfs/)
+ * This file is part of PhysicsFS (https://icculus.org/physfs/)
  *
  *
  * This data generated by physfs/extras/makecasefoldhashtable.pl ...
  * This data generated by physfs/extras/makecasefoldhashtable.pl ...
  * Do not manually edit this file!
  * Do not manually edit this file!

+ 1 - 1
extras/physfsrwops.c

@@ -16,7 +16,7 @@
  *  Please see LICENSE.txt in the root of the source tree.
  *  Please see LICENSE.txt in the root of the source tree.
  *
  *
  * SDL 1.2 falls under the LGPL license. SDL 1.3+ is zlib, like PhysicsFS.
  * SDL 1.2 falls under the LGPL license. SDL 1.3+ is zlib, like PhysicsFS.
- *  You can get SDL at http://www.libsdl.org/
+ *  You can get SDL at https://www.libsdl.org/
  *
  *
  *  This file was written by Ryan C. Gordon. (icculus@icculus.org).
  *  This file was written by Ryan C. Gordon. (icculus@icculus.org).
  */
  */

+ 1 - 1
extras/physfsrwops.h

@@ -15,7 +15,7 @@
  * Unless otherwise stated, the rest of PhysicsFS falls under the zlib license.
  * Unless otherwise stated, the rest of PhysicsFS falls under the zlib license.
  *  Please see LICENSE.txt in the root of the source tree.
  *  Please see LICENSE.txt in the root of the source tree.
  *
  *
- * SDL falls under the LGPL license. You can get SDL at http://www.libsdl.org/
+ * SDL falls under the LGPL license. You can get SDL at https://www.libsdl.org/
  *
  *
  *  This file was written by Ryan C. Gordon. (icculus@icculus.org).
  *  This file was written by Ryan C. Gordon. (icculus@icculus.org).
  */
  */

+ 1 - 1
src/archiver_dir.c

@@ -173,7 +173,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_DIR =
         "",
         "",
         "Non-archive, direct filesystem I/O",
         "Non-archive, direct filesystem I/O",
         "Ryan C. Gordon <icculus@icculus.org>",
         "Ryan C. Gordon <icculus@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         1,  /* supportsSymlinks */
         1,  /* supportsSymlinks */
     },
     },
     DIR_openArchive,
     DIR_openArchive,

+ 1 - 1
src/archiver_grp.c

@@ -92,7 +92,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_GRP =
         "GRP",
         "GRP",
         "Build engine Groupfile format",
         "Build engine Groupfile format",
         "Ryan C. Gordon <icculus@icculus.org>",
         "Ryan C. Gordon <icculus@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     GRP_openArchive,
     GRP_openArchive,

+ 1 - 1
src/archiver_hog.c

@@ -98,7 +98,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_HOG =
         "HOG",
         "HOG",
         "Descent I/II HOG file format",
         "Descent I/II HOG file format",
         "Bradley Bell <btb@icculus.org>",
         "Bradley Bell <btb@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     HOG_openArchive,
     HOG_openArchive,

+ 1 - 1
src/archiver_iso9660.c

@@ -941,7 +941,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_ISO9660 =
         "ISO",
         "ISO",
         "ISO9660 image file",
         "ISO9660 image file",
         "Christoph Nelles <evilazrael@evilazrael.de>",
         "Christoph Nelles <evilazrael@evilazrael.de>",
-        "http://www.evilazrael.de/",
+        "https://www.evilazrael.de/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     ISO9660_openArchive,
     ISO9660_openArchive,

+ 1 - 1
src/archiver_lzma.c

@@ -679,7 +679,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_LZMA =
         "7Z",
         "7Z",
         "LZMA (7zip) format",
         "LZMA (7zip) format",
         "Dennis Schridde <devurandom@gmx.net>",
         "Dennis Schridde <devurandom@gmx.net>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     LZMA_openArchive,
     LZMA_openArchive,

+ 1 - 1
src/archiver_mvl.c

@@ -85,7 +85,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_MVL =
         "MVL",
         "MVL",
         "Descent II Movielib format",
         "Descent II Movielib format",
         "Bradley Bell <btb@icculus.org>",
         "Bradley Bell <btb@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     MVL_openArchive,
     MVL_openArchive,

+ 1 - 1
src/archiver_qpak.c

@@ -101,7 +101,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_QPAK =
         "PAK",
         "PAK",
         "Quake I/II format",
         "Quake I/II format",
         "Ryan C. Gordon <icculus@icculus.org>",
         "Ryan C. Gordon <icculus@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     QPAK_openArchive,
     QPAK_openArchive,

+ 1 - 1
src/archiver_slb.c

@@ -106,7 +106,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_SLB =
         "SLB",
         "SLB",
         "I-War / Independence War Slab file",
         "I-War / Independence War Slab file",
         "Aleksi Nurmi <aleksi.nurmi@gmail.com>",
         "Aleksi Nurmi <aleksi.nurmi@gmail.com>",
-        "http://bitbucket.org/ahnurmi/",
+        "https://bitbucket.org/ahnurmi/",
         0,  /* supportsSymlinks */
         0,  /* supportsSymlinks */
     },
     },
     SLB_openArchive,
     SLB_openArchive,

+ 1 - 1
src/archiver_zip.c

@@ -1710,7 +1710,7 @@ const PHYSFS_Archiver __PHYSFS_Archiver_ZIP =
         "ZIP",
         "ZIP",
         "PkZip/WinZip/Info-Zip compatible",
         "PkZip/WinZip/Info-Zip compatible",
         "Ryan C. Gordon <icculus@icculus.org>",
         "Ryan C. Gordon <icculus@icculus.org>",
-        "http://icculus.org/physfs/",
+        "https://icculus.org/physfs/",
         1,  /* supportsSymlinks */
         1,  /* supportsSymlinks */
     },
     },
     ZIP_openArchive,
     ZIP_openArchive,

+ 1 - 1
src/physfs.c

@@ -614,7 +614,7 @@ void __PHYSFS_sort(void *entries, size_t max,
 {
 {
     /*
     /*
      * Quicksort w/ Bubblesort fallback algorithm inspired by code from here:
      * Quicksort w/ Bubblesort fallback algorithm inspired by code from here:
-     *   http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html
+     *   https://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html
      */
      */
     if (max > 0)
     if (max > 0)
         __PHYSFS_quick_sort(entries, 0, max - 1, cmpfn, swapfn);
         __PHYSFS_quick_sort(entries, 0, max - 1, cmpfn, swapfn);

+ 1 - 1
src/physfs.h

@@ -8,7 +8,7 @@
  * \mainpage PhysicsFS
  * \mainpage PhysicsFS
  *
  *
  * The latest version of PhysicsFS can be found at:
  * The latest version of PhysicsFS can be found at:
- *     http://icculus.org/physfs/
+ *     https://icculus.org/physfs/
  *
  *
  * PhysicsFS; a portable, flexible file i/o abstraction.
  * PhysicsFS; a portable, flexible file i/o abstraction.
  *
  *

+ 1 - 1
src/physfs_casefolding.h

@@ -1,5 +1,5 @@
 /*
 /*
- * This file is part of PhysicsFS (http://icculus.org/physfs/)
+ * This file is part of PhysicsFS (https://icculus.org/physfs/)
  *
  *
  * This data generated by physfs/extras/makecasefoldhashtable.pl ...
  * This data generated by physfs/extras/makecasefoldhashtable.pl ...
  * Do not manually edit this file!
  * Do not manually edit this file!

+ 1 - 1
src/physfs_internal.h

@@ -127,7 +127,7 @@ void __PHYSFS_smallFree(void *ptr);
 /* The latest supported PHYSFS_Archiver::version value. */
 /* The latest supported PHYSFS_Archiver::version value. */
 #define CURRENT_PHYSFS_ARCHIVER_API_VERSION 0
 #define CURRENT_PHYSFS_ARCHIVER_API_VERSION 0
 
 
-/* This byteorder stuff was lifted from SDL. http://www.libsdl.org/ */
+/* This byteorder stuff was lifted from SDL. https://www.libsdl.org/ */
 #define PHYSFS_LIL_ENDIAN  1234
 #define PHYSFS_LIL_ENDIAN  1234
 #define PHYSFS_BIG_ENDIAN  4321
 #define PHYSFS_BIG_ENDIAN  4321
 
 

+ 2 - 2
src/physfs_miniz.h

@@ -1,7 +1,7 @@
 /* tinfl.c v1.11 - public domain inflate with zlib header parsing/adler32 checking (inflate-only subset of miniz.c)
 /* tinfl.c v1.11 - public domain inflate with zlib header parsing/adler32 checking (inflate-only subset of miniz.c)
    See "unlicense" statement at the end of this file.
    See "unlicense" statement at the end of this file.
    Rich Geldreich <richgel99@gmail.com>, last updated May 20, 2011
    Rich Geldreich <richgel99@gmail.com>, last updated May 20, 2011
-   Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf.org/rfc/rfc1951.txt
+   Implements RFC 1950: https://www.ietf.org/rfc/rfc1950.txt and RFC 1951: https://www.ietf.org/rfc/rfc1951.txt
 
 
    The entire decompressor coroutine is implemented in tinfl_decompress(). The other functions are optional high-level helpers.
    The entire decompressor coroutine is implemented in tinfl_decompress(). The other functions are optional high-level helpers.
 */
 */
@@ -694,5 +694,5 @@ static int mz_inflateEnd(mz_streamp pStream)
   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   OTHER DEALINGS IN THE SOFTWARE.
   OTHER DEALINGS IN THE SOFTWARE.
 
 
-  For more information, please refer to <http://unlicense.org/>
+  For more information, please refer to <https://unlicense.org/>
 */
 */

+ 1 - 1
src/physfs_unicode.c

@@ -4,7 +4,7 @@
 
 
 /*
 /*
  * From rfc3629, the UTF-8 spec:
  * From rfc3629, the UTF-8 spec:
- *  http://www.ietf.org/rfc/rfc3629.txt
+ *  https://www.ietf.org/rfc/rfc3629.txt
  *
  *
  *   Char. number range  |        UTF-8 octet sequence
  *   Char. number range  |        UTF-8 octet sequence
  *      (hexadecimal)    |              (binary)
  *      (hexadecimal)    |              (binary)

+ 1 - 1
src/platform_beos.cpp

@@ -87,7 +87,7 @@ static char *getMountPoint(const char *devname, char *buf, size_t bufsize)
 
 
     /*
     /*
      * This function is lifted from Simple Directmedia Layer (SDL):
      * This function is lifted from Simple Directmedia Layer (SDL):
-     *  http://www.libsdl.org/  ... this is zlib-licensed code, too.
+     *  https://www.libsdl.org/  ... this is zlib-licensed code, too.
      */
      */
 static void tryDir(const char *d, PHYSFS_StringCallback callback, void *data)
 static void tryDir(const char *d, PHYSFS_StringCallback callback, void *data)
 {
 {

+ 1 - 1
src/platform_macosx.c

@@ -88,7 +88,7 @@ int __PHYSFS_platformDeinit(void)
 
 
 /*
 /*
  * Code based on sample from Apple Developer Connection:
  * Code based on sample from Apple Developer Connection:
- *  http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/Disks/VolumeToBSDNode/VolumeToBSDNode.c.htm
+ *  https://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/Disks/VolumeToBSDNode/VolumeToBSDNode.c.htm
  */
  */
 
 
 #if !defined(PHYSFS_NO_CDROM_SUPPORT)
 #if !defined(PHYSFS_NO_CDROM_SUPPORT)

+ 1 - 1
src/platform_unix.c

@@ -337,7 +337,7 @@ char *__PHYSFS_platformCalcPrefDir(const char *org, const char *app)
      *  This isn't strictly correct, but the results are relatively sane
      *  This isn't strictly correct, but the results are relatively sane
      *  in any case.
      *  in any case.
      *
      *
-     * http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
+     * https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
      */
      */
     const char *envr = getenv("XDG_DATA_HOME");
     const char *envr = getenv("XDG_DATA_HOME");
     const char *append = "/";
     const char *append = "/";