Added .github/workflows/amiga-gcc.yml version [b686740212].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: amiga-gcc
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
configure_flags:
-
- --disable-amiga-lib
steps:
- name: Install dependencies
run: docker pull amigadev/crosstools:m68k-amigaos
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: |
docker run \
-e PATH="/opt/m68k-amigaos/bin:$PATH" \
-v "$PWD:/objfw" \
amigadev/crosstools:m68k-amigaos \
sh -c 'cd /objfw && ./configure --host=m68k-amigaos ${{ matrix.configure_flags }}'
- name: make
run: |
docker run \
-e PATH="/opt/m68k-amigaos/bin:$PATH" \
-v "$PWD:/objfw" \
amigadev/crosstools:m68k-amigaos \
sh -c "cd /objfw && make -j$(nproc)"
- name: make install
run: |
docker run \
-e PATH="/opt/m68k-amigaos/bin:$PATH" \
-v "$PWD:/objfw" \
amigadev/crosstools:m68k-amigaos \
sh -c "cd /objfw && make -j$(nproc)"
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ios.yml version [dfaaa1befb].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ios
on: [push, pull_request]
jobs:
tests:
runs-on: macos-latest
strategy:
matrix:
arch:
- arm64
- x86_64
configure_flags:
-
- --disable-shared
steps:
- name: Install dependencies
run: brew install autoconf automake
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: |
export IPHONEOS_DEPLOYMENT_TARGET="9.0"
if [ "${{ matrix.arch}}" = "x86_64" ]; then
sdk="iphonesimulator"
else
sdk="iphoneos"
fi
export OBJC="clang -isysroot $(xcrun --sdk $sdk --show-sdk-path)"
export OBJC="$OBJC -arch ${{ matrix.arch }}"
./configure --host=${{ matrix.arch }}-apple-darwin \
${{ matrix.configure_flags }}
- name: make
run: make -j$(sysctl -n hw.logicalcpu)
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/macos-10.15.yml version [0b4e6d02a3].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: macos-10.15
on: [push, pull_request]
jobs:
tests:
runs-on: macos-10.15
strategy:
matrix:
configure_flags:
-
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
steps:
- name: Install dependencies
run: brew install autoconf automake
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure ${{ matrix.configure_flags }}
- name: make
run: make -j$(sysctl -n hw.logicalcpu)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/macos-11.yml version [d79ffc1fb9].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: macos-11
on: [push, pull_request]
jobs:
tests:
runs-on: macos-11
strategy:
matrix:
configure_flags:
-
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
steps:
- name: Install dependencies
run: brew install autoconf automake
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure ${{ matrix.configure_flags }}
- name: make
run: make -j$(sysctl -n hw.logicalcpu)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/nintendo-3ds.yml version [e0b6f33d3b].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: nintendo-3ds
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: docker pull devkitpro/devkitarm
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c 'cd /objfw && ./configure --host=arm-none-eabi --with-3ds'
- name: make
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c "cd /objfw && make -j$(nproc)"
- name: make install
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c "cd /objfw && make -j$(nproc)"
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/nintendo-ds.yml version [d9db2db1e7].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: nintendo-ds
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: docker pull devkitpro/devkitarm
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c 'cd /objfw && ./configure --host=arm-none-eabi --with-nds'
- name: make
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c "cd /objfw && make -j$(nproc)"
- name: make install
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitarm \
sh -c "cd /objfw && make -j$(nproc)"
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-18.04-32bit.yml version [c84b2e26e8].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-18.04, 32 bit
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-18.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gcc-multilib
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="clang -m32" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-18.04-gcc-32bit.yml version [fffc9a783b].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-18.04, GCC, 32 bit
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-18.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gcc-multilib gobjc
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="gcc -m32" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-18.04-gcc.yml version [abecbdd592].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-18.04, GCC
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-18.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gobjc
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="gcc" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-18.04.yml version [1b051883aa].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-18.04
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-18.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-20.04-32bit.yml version [67fdadee3b].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-20.04, 32 bit
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gcc-multilib
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="clang -m32" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-20.04-gcc-32bit.yml version [77cd8547b9].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-20.04, GCC, 32 bit
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gcc-multilib gobjc
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="gcc -m32" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-20.04-gcc.yml version [722d29b103].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-20.04, GCC
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- name: Install dependencies
run: sudo apt install gobjc
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure OBJC="gcc" ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/ubuntu-20.04.yml version [b1e6e1b321].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: ubuntu-20.04
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
configure_flags:
-
- --enable-seluid24
- --disable-compiler-tls
- --disable-threads
- --disable-threads --disable-sockets
- --disable-threads --disable-files
- --disable-threads --disable-sockets --disable-files
- --disable-sockets
- --disable-sockets --disable-files
- --disable-files
- --disable-shared
- --disable-shared --enable-seluid24
- --disable-compiler-tls --disable-threads
steps:
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure ${{ matrix.configure_flags }}
- name: make
run: make -j$(nproc)
- name: make check
run: make check
- name: make install
run: sudo make install
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added .github/workflows/wii.yml version [4585ba4b5f].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
name: wii
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: docker pull devkitpro/devkitppc
- uses: actions/checkout@v2
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitPPC/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitppc \
sh -c 'cd /objfw && ./configure --host=powerpc-eabi --with-wii'
- name: make
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitPPC/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitppc \
sh -c "cd /objfw && make -j$(nproc)"
- name: make install
run: |
docker run \
-e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitPPC/bin:$PATH" \
-v "$PWD:/objfw" \
devkitpro/devkitppc \
sh -c "cd /objfw && make -j$(nproc)"
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Modified Makefile
from [b5f8b9bb2c]
to [63e28abf9d].
︙ | | |
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
+
+
+
|
include buildsys.mk
.PHONY: docs release
utils tests: src
check: tests
cd tests && ${MAKE} -s run
docs:
rm -fr docs
doxygen >/dev/null
release: docs
echo "Generating tarball for version ${PACKAGE_VERSION}..."
rm -fr objfw-${PACKAGE_VERSION} objfw-${PACKAGE_VERSION}.tar \
|
︙ | | |
Modified configure.ac
from [f18044f8a5]
to [21319958b6].
︙ | | |
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
|
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
|
+
|
AC_CHECK_HEADERS(pthread_np.h, [], [], [#include <pthread.h>])
AC_CHECK_FUNCS(pthread_set_name_np pthread_setname_np, break)
;;
esac
AC_DEFINE(OF_HAVE_THREADS, 1, [Whether we have threads])
AC_SUBST(USE_SRCS_THREADS, '${SRCS_THREADS}')
AC_SUBST(OBJC_SYNC, objc_sync)
AC_ARG_ENABLE(compiler-tls,
AS_HELP_STRING([--disable-compiler-tls],
[disable compiler thread local storage]))
case "$host" in
aarch64*-*-android*)
|
︙ | | |
Modified extra.mk.in
from [61676c5c0a]
to [4677283a5b].
︙ | | |
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
+
|
LIBOBJFW_DEP = @LIBOBJFW_DEP@
LIBOBJFW_DEP_LVL2 = @LIBOBJFW_DEP_LVL2@
LINKLIB = @LINKLIB@
LOOKUP_ASM_A = @LOOKUP_ASM_A@
LOOKUP_ASM_AMIGALIB_A = @LOOKUP_ASM_AMIGALIB_A@
LOOKUP_ASM_LIB_A = @LOOKUP_ASM_LIB_A@
MAP_LDFLAGS = @MAP_LDFLAGS@
OBJC_SYNC = @OBJC_SYNC@
OBJFW_LIBS = @OBJFW_LIBS@
OFARC = @OFARC@
OFDNS = @OFDNS@
OFHASH = @OFHASH@
OFHTTP = @OFHTTP@
OF_BLOCK_TESTS_M = @OF_BLOCK_TESTS_M@
OF_EPOLL_KERNEL_EVENT_OBSERVER_M = @OF_EPOLL_KERNEL_EVENT_OBSERVER_M@
|
︙ | | |
Modified src/OFFileManager.h
from [eef9503ad7]
to [8ccfa4987e].
︙ | | |
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
+
-
|
* @note `.` and `..` are not part of the returned array.
*
* @param URL The URL to the directory whose items should be returned
* @return An array with the URLs of the items in the specified directory
*/
- (OFArray OF_GENERIC(OFURL *) *)contentsOfDirectoryAtURL: (OFURL *)URL;
#ifdef OF_HAVE_FILES
/**
* @brief Returns an array with all subpaths of the specified directory.
*
* @note `.` and `..` (of the directory itself or any subdirectory) are not
* part of the returned array.
*
* @param path The path to the directory whose subpaths should be returned
* @return An array of OFString with the subpaths of the specified directory
*/
- (OFArray OF_GENERIC(OFString *) *)subpathsOfDirectoryAtPath: (OFString *)path;
#ifdef OF_HAVE_FILES
/**
* @brief Changes the current working directory.
*
* @param path The new directory to change to
*/
- (void)changeCurrentDirectoryPath: (OFString *)path;
|
︙ | | |
Modified src/OFRunLoop.m
from [08b8bec829]
to [cc008951a5].
︙ | | |
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
|
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
|
+
+
+
+
+
+
+
|
- (void)of_removeTimer: (OFTimer *)timer forMode: (OFRunLoopMode)mode
{
OFRunLoopState *state = stateForMode(self, mode, false);
if (state == nil)
return;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#ifdef OF_HAVE_THREADS
[state->_timersQueueMutex lock];
@try {
#endif
for (OFListItem iter = state->_timersQueue.firstListItem;
iter != NULL; iter = OFListItemNext(iter)) {
if ([OFListItemObject(iter) isEqual: timer]) {
[state->_timersQueue removeListItem: iter];
break;
}
}
#ifdef OF_HAVE_THREADS
} @finally {
[state->_timersQueueMutex unlock];
}
#endif
#pragma GCC diagnostic pop
}
#ifdef OF_AMIGAOS
- (void)addExecSignal: (ULONG)signal target: (id)target selector: (SEL)selector
{
[self addExecSignal: signal
forMode: OFDefaultRunLoopMode
|
︙ | | |
Modified src/OFUDPSocket.m
from [5d65cff83a]
to [bb035d1ec6].
︙ | | |
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
-
+
-
-
-
+
|
while (rnd < 1024)
rnd = (uint16_t)rand();
OFSocketAddressSetPort(address, rnd);
if ((ret = bind(_socket, &address->sockaddr.sockaddr,
address->length)) == 0) {
address->length)) == 0)
port = rnd;
break;
}
if (OFSocketErrNo() != EADDRINUSE) {
int errNo = OFSocketErrNo();
OFString *host = OFSocketAddressString(address);
uint16_t port = OFSocketAddressPort(port);
port = OFSocketAddressPort(address);
closesocket(_socket);
_socket = OFInvalidSocketHandle;
@throw [OFBindFailedException
exceptionWithHost: host
port: port
|
︙ | | |
Modified src/OFURL.m
from [110acb1505]
to [73419ef6a6].
︙ | | |
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
|
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
|
+
+
+
+
+
+
+
+
+
+
+
+
+
|
initWithUTF8String: tmp + 1];
OFURLVerifyIsEscaped(_URLEncodedQuery,
[OFCharacterSet
URLQueryAllowedCharacterSet]);
}
/*
* Some versions of GCC issue a false-positive warning
* (turned error) about a string overflow. This is a
* false positive because UTF8String is set to tmp
* above and tmp is either NULL or points *after* the
* slash for the path. So all we do here is go back to
* that slash and restore it.
*/
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
UTF8String--;
*UTF8String = '/';
#pragma GCC diagnostic pop
_URLEncodedPath = [[OFString alloc]
initWithUTF8String: UTF8String];
OFURLVerifyIsEscaped(_URLEncodedPath,
[OFCharacterSet URLPathAllowedCharacterSet]);
}
|
︙ | | |
Modified tests/Makefile
from [aa8c0b4a05]
to [c0f76538e2].
1
2
3
4
5
6
7
8
9
10
11
|
1
2
3
4
5
6
7
8
9
10
11
|
-
+
|
include ../extra.mk
SUBDIRS = ${TESTPLUGIN} \
objc_sync \
${OBJC_SYNC} \
terminal
CLEAN = EBOOT.PBP \
boot.dol \
${PROG_NOINST}.arm9 \
${PROG_NOINST}.nds
DISTCLEAN = Info.plist
|
︙ | | |