From 3b1075faa093e39ba292add9abf9c46906180783 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Mon, 4 Sep 2023 20:47:07 +0200 Subject: [PATCH 1/4] renamed tags [ci skip] --- jfuse-linux-amd64/pom.xml | 62 +++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index 0d84fba9..c8d5b6c3 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -149,23 +149,23 @@ org.cryptomator.jfuse.linux.amd64.extr.errno errno_h - ENOENT - ENOSYS - ENOMEM - EACCES - EIO - EROFS - EBADF - EEXIST - ENOTDIR - EISDIR - ENOTEMPTY - ENOTSUP - EINVAL - ERANGE - ENOLCK - ENAMETOOLONG - ENODATA + ENOENT + ENOSYS + ENOMEM + EACCES + EIO + EROFS + EBADF + EEXIST + ENOTDIR + EISDIR + ENOTEMPTY + ENOTSUP + EINVAL + ERANGE + ENOLCK + ENAMETOOLONG + ENODATA @@ -179,8 +179,8 @@ org.cryptomator.jfuse.linux.amd64.extr.stat stat_h - UTIME_NOW - UTIME_OMIT + UTIME_NOW + UTIME_OMIT @@ -194,15 +194,15 @@ fcntl_h org.cryptomator.jfuse.linux.amd64.extr.fcntl - O_RDONLY - O_WRONLY - O_RDWR - O_APPEND - O_CREAT - O_TRUNC - O_EXCL - O_DSYNC - O_SYNC + O_RDONLY + O_WRONLY + O_RDWR + O_APPEND + O_CREAT + O_TRUNC + O_EXCL + O_DSYNC + O_SYNC @@ -220,9 +220,9 @@ - RENAME_NOREPLACE - RENAME_EXCHANGE - RENAME_WHITEOUT + RENAME_NOREPLACE + RENAME_EXCHANGE + RENAME_WHITEOUT From f9adf1142bc46cc38de7e7715fad03bd5545d357 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Mon, 4 Sep 2023 20:50:19 +0200 Subject: [PATCH 2/4] add `Errno.enoattr()` --- .../main/java/org/cryptomator/jfuse/api/Errno.java | 7 +++++++ .../cryptomator/jfuse/linux/aarch64/LinuxErrno.java | 11 +++++++++++ .../org/cryptomator/jfuse/linux/amd64/LinuxErrno.java | 11 +++++++++++ jfuse-mac/pom.xml | 1 + .../main/java/org/cryptomator/jfuse/mac/MacErrno.java | 5 +++++ .../org/cryptomator/jfuse/mac/extr/errno/errno_h.java | 8 ++++++++ .../main/java/org/cryptomator/jfuse/win/WinErrno.java | 11 +++++++++++ 7 files changed, 54 insertions(+) diff --git a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java index 0bb1c812..1fbbbde3 100644 --- a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java +++ b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java @@ -131,4 +131,11 @@ public interface Errno { */ int enodata(); + /** + * The named attribute does not exist, or the process has no access to this attribute; + * + * @return error constant {@code ENOATTR} + */ + int enoattr(); + } diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java index 70bbab60..5b48584c 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java @@ -89,4 +89,15 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } } diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java index ba51b4f1..5c26bd73 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java @@ -89,4 +89,15 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } } diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index 23993aa4..077f2d9b 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -140,6 +140,7 @@ ENOLCK ENAMETOOLONG ENODATA + ENOATTR diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java index 436cdb1e..62174a93 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java @@ -89,4 +89,9 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + @Override + public int enoattr() { + return errno_h.ENOATTR(); + } } diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java index bf71ae55..cd1e97ae 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java @@ -145,6 +145,14 @@ public static int ENOLCK() { public static int ENOSYS() { return (int)78L; } + /** + * {@snippet : + * #define ENOATTR 93 + * } + */ + public static int ENOATTR() { + return (int)93L; + } /** * {@snippet : * #define ENODATA 96 diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java index 35e65454..5bcc3eb4 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java @@ -89,4 +89,15 @@ public int enametoolong() { public int enodata() { return errno_h.ENODATA(); } + + /** + * Alias for {@link #enodata()} + * @return error constant ENODATA + * @deprecated Use {@link #enodata()} instead + */ + @Override + @Deprecated + public int enoattr() { + return enodata(); + } } From baa9b82dd8865c544aaee50d06159e77df14dfe4 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Mon, 4 Sep 2023 20:55:35 +0200 Subject: [PATCH 3/4] add `Errno.e2big()` --- .../src/main/java/org/cryptomator/jfuse/api/Errno.java | 7 +++++++ jfuse-linux-aarch64/pom.xml | 1 + .../org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java | 5 +++++ .../jfuse/linux/aarch64/extr/errno/errno_h.java | 8 ++++++++ jfuse-linux-amd64/pom.xml | 1 + .../org/cryptomator/jfuse/linux/amd64/LinuxErrno.java | 5 +++++ .../cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java | 8 ++++++++ jfuse-mac/pom.xml | 1 + .../src/main/java/org/cryptomator/jfuse/mac/MacErrno.java | 5 +++++ .../org/cryptomator/jfuse/mac/extr/errno/errno_h.java | 8 ++++++++ jfuse-win/pom.xml | 1 + .../src/main/java/org/cryptomator/jfuse/win/WinErrno.java | 5 +++++ .../org/cryptomator/jfuse/win/extr/errno/errno_h.java | 8 ++++++++ 13 files changed, 63 insertions(+) diff --git a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java index 1fbbbde3..041a5867 100644 --- a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java +++ b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java @@ -138,4 +138,11 @@ public interface Errno { */ int enoattr(); + /** + * Argument list too long + * + * @return error constant {@code E2BIG} + */ + int e2big(); + } diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index 37d86055..ce47979a 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java index 5b48584c..c2f1971e 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java @@ -100,4 +100,9 @@ public int enodata() { public int enoattr() { return enodata(); } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java index 8d7dc15b..2de21eb2 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index c8d5b6c3..50cf5937 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java index 5c26bd73..88ee0172 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java @@ -100,4 +100,9 @@ public int enodata() { public int enoattr() { return enodata(); } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java index 0dd69db9..3b08531f 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index 077f2d9b..3156bb24 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -141,6 +141,7 @@ ENAMETOOLONG ENODATA ENOATTR + E2BIG diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java index 62174a93..174fca7e 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java @@ -94,4 +94,9 @@ public int enodata() { public int enoattr() { return errno_h.ENOATTR(); } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java index cd1e97ae..6a7ad89d 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml index 214f7c4b..540b4f9e 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -166,6 +166,7 @@ ENOLCK ENAMETOOLONG ENODATA + E2BIG diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java index 5bcc3eb4..bdad5604 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java @@ -100,4 +100,9 @@ public int enodata() { public int enoattr() { return enodata(); } + + @Override + public int e2big() { + return errno_h.E2BIG(); + } } diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java index bed4b821..ba1d191c 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java @@ -33,6 +33,14 @@ public static int ENOENT() { public static int EIO() { return (int)5L; } + /** + * {@snippet : + * #define E2BIG 7 + * } + */ + public static int E2BIG() { + return (int)7L; + } /** * {@snippet : * #define EBADF 9 From 2837d56d64922d684706ce8eb9d29a7a90e06ccd Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 5 Sep 2023 13:21:12 +0200 Subject: [PATCH 4/4] prepare 0.6.1 --- jfuse-api/pom.xml | 2 +- jfuse-examples/pom.xml | 2 +- jfuse-linux-aarch64/pom.xml | 2 +- jfuse-linux-amd64/pom.xml | 2 +- jfuse-mac/pom.xml | 2 +- jfuse-tests/pom.xml | 2 +- jfuse-win/pom.xml | 2 +- jfuse/pom.xml | 2 +- pom.xml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/jfuse-api/pom.xml b/jfuse-api/pom.xml index f75c2eb8..b8689d32 100644 --- a/jfuse-api/pom.xml +++ b/jfuse-api/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-api diff --git a/jfuse-examples/pom.xml b/jfuse-examples/pom.xml index 129ae110..6c5d34f6 100644 --- a/jfuse-examples/pom.xml +++ b/jfuse-examples/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-examples diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index ce47979a..f867bcf6 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -5,7 +5,7 @@ jfuse-parent org.cryptomator - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-linux-aarch64 diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index 50cf5937..88799919 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-linux-amd64 diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index 3156bb24..0f735887 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-mac diff --git a/jfuse-tests/pom.xml b/jfuse-tests/pom.xml index b43284b9..4de6fd66 100644 --- a/jfuse-tests/pom.xml +++ b/jfuse-tests/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-tests diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml index 540b4f9e..11d2237a 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse-win diff --git a/jfuse/pom.xml b/jfuse/pom.xml index 67920ee3..7c2ed4d7 100644 --- a/jfuse/pom.xml +++ b/jfuse/pom.xml @@ -5,7 +5,7 @@ org.cryptomator jfuse-parent - 0.7.0-SNAPSHOT + 0.6.1 4.0.0 jfuse diff --git a/pom.xml b/pom.xml index b58f8c9c..e9beff42 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.cryptomator jfuse-parent pom - 0.7.0-SNAPSHOT + 0.6.1 jFUSE Java bindings for FUSE using foreign functions & memory API https://github.com/cryptomator/jfuse