orbclient issueshttps://gitlab.redox-os.org/redox-os/orbclient/-/issues2023-04-05T21:15:28Zhttps://gitlab.redox-os.org/redox-os/orbclient/-/issues/49v0.3.35 breaks the MacOS build2023-04-05T21:15:28ZWill Angenentv0.3.35 breaks the MacOS buildIn commit [1baac6393](https://gitlab.redox-os.org/redox-os/drivers/-/commit/1baac63934bdff98e5a50752b1925e7126025fb8) in the drivers recipe, `Cargo.lock` got updated. This now pulls in `orbclient >= 0.3.35`. The [0.3.35 commit](https://g...In commit [1baac6393](https://gitlab.redox-os.org/redox-os/drivers/-/commit/1baac63934bdff98e5a50752b1925e7126025fb8) in the drivers recipe, `Cargo.lock` got updated. This now pulls in `orbclient >= 0.3.35`. The [0.3.35 commit](https://gitlab.redox-os.org/redox-os/orbclient/-/commit/2fa84f0442edfebb4d4bb298bfca59e32f31f39a) breaks the drivers build in MacOS with this error:
```
error: library kind `framework` is only supported on Apple targets
```
Ironically, the commit in orbclient is supposed to fix the MacOS build. This is related to the line in build.rs:
```
fn main() {
if cfg!(target_os = "macos") {
println!("cargo:rustc-link-lib=framework=CoreHaptics");
}
}
```
If I remove `build.rs`, I am able to build the drivers. I am also able to unpin the sdl2 dependency.
What is 2fa84f044 supposed to fix?
I tried compiling orbclient, but it fails on a linker error in libsodium, so I cannot verify what effect this has on orbclient directly when building on MacOS.
Please advise what the proper course of actions is. Removing build.rs is tempting. But what side effects will that have? I cannot compile the desktop version yet on MacOS so I'm a bit hampered on those parts of the OS.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/47Are wasm32 variants in color.rs needed2023-04-28T13:46:34ZAndrew MackenzieAre wasm32 variants in color.rs neededThere are variants of code in color.rs for wasm32 target, that seem to move rgb channels around and remove functions when compiling for wasm32 target.
I am told the wasm32 target is no longer used.
Could we remove this wasm32 specific co...There are variants of code in color.rs for wasm32 target, that seem to move rgb channels around and remove functions when compiling for wasm32 target.
I am told the wasm32 target is no longer used.
Could we remove this wasm32 specific code here and in all of orbclient?
If so, let me know and I can do the clean-up.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/46Update `redox_syscall` to v0.32023-04-28T13:46:34ZdaxpeddaUpdate `redox_syscall` to v0.3I was just trying the new `winit` release on Redox OS and noticed the duplicate dependency.I was just trying the new `winit` release on Redox OS and noticed the duplicate dependency.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/45Panic on resizing windows2022-08-03T17:09:23ZNagy Tiborxnagytibor@gmail.comPanic on resizing windowsAfter some recent Redox kernel/syscall changes orbclient started panicking on resizing windows:
```
thread 'main' panicked at 'orbclient: failed to unmap memory in resize: Invalid argument', /home/user/.cargo/registry/src/github.com-1ec...After some recent Redox kernel/syscall changes orbclient started panicking on resizing windows:
```
thread 'main' panicked at 'orbclient: failed to unmap memory in resize: Invalid argument', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.32/src/sys/orbital.rs:260:18
```
The panic is reproducible with any Redox desktop app with resizable windows.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/41orbclient is blocking until a new event receives2018-06-14T21:49:07ZJeremy Sollerorbclient is blocking until a new event receives*Created by: FloVanGH*
Could it be that the orbclient window is blocking (waiting) until it receives a new event (https://github.com/redox-os/orbclient/blob/master/src/sys/sdl2.rs#L361). This should be critical if we want to integrate a...*Created by: FloVanGH*
Could it be that the orbclient window is blocking (waiting) until it receives a new event (https://github.com/redox-os/orbclient/blob/master/src/sys/sdl2.rs#L361). This should be critical if we want to integrate animations in orbtk or to handle NPCs in orbgame. I can reproduce his behavior in orbgame. The game stops until a new event received.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/40Issue Compiling on Mac OS high sierra2023-04-28T13:46:34ZJeremy SollerIssue Compiling on Mac OS high sierra*Created by: SG14-96*
cargo run --example widgets --verbose
Fresh byteorder v0.4.2
Fresh scopeguard v0.3.3
Fresh color_quant v1.0.0
Fresh libc v0.2.36
Fresh procedural-masquerade v0.1.5
Fr...*Created by: SG14-96*
cargo run --example widgets --verbose
Fresh byteorder v0.4.2
Fresh scopeguard v0.3.3
Fresh color_quant v1.0.0
Fresh libc v0.2.36
Fresh procedural-masquerade v0.1.5
Fresh linked-hash-map v0.5.0
Fresh scoped_threadpool v0.1.8
Fresh resize v0.2.0
Fresh unicode-xid v0.0.4
Fresh siphasher v0.2.2
Fresh nodrop v0.1.12
Fresh either v1.4.0
Fresh matches v0.1.6
Fresh lazy_static v0.2.11
Fresh num-traits v0.1.41
Fresh lzw v0.10.0
Fresh byteorder v1.2.1
Fresh inflate v0.1.1
Fresh adler32 v1.0.2
Fresh bitflags v0.7.0
Fresh quote v0.3.15
Fresh stb_truetype v0.2.1
Fresh num_cpus v1.8.0
Fresh rand v0.3.20
Fresh synom v0.11.3
Fresh phf_shared v0.7.21
Fresh arrayvec v0.4.6
Fresh coco v0.1.1
Fresh enum_primitive v0.1.1
Fresh num-integer v0.1.35
Fresh gif v0.9.2
Fresh deflate v0.7.17
Fresh syn v0.11.11
Fresh phf_generator v0.7.21
Fresh phf v0.7.21
Fresh rusttype v0.2.3
Fresh sdl2-sys v0.30.0
Fresh num-rational v0.1.40
Fresh num-iter v0.1.34
Fresh rayon-core v1.3.0
Fresh phf_codegen v0.7.21
Fresh png v0.6.2
Fresh num v0.1.41
Fresh rayon v0.8.2
Fresh cssparser-macros v0.3.0
Fresh sdl2 v0.30.0
Fresh jpeg-decoder v0.1.13
Fresh cssparser v0.16.1
Fresh orbclient v0.3.12
Fresh image v0.12.4
Fresh orbfont v0.1.8
Fresh orbimage v0.1.15
Compiling orbtk v0.2.26 (file:///Users/SG/OpenSourceProjects/RedoxProj/orbtk)
Running `rustc --crate-name widgets examples/widgets.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=a6aed422bc6e0bf2 -C extra-filename=-a6aed422bc6e0bf2 --out-dir /Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples -C incremental=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/incremental -L dependency=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps --extern orbimage=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbimage-6f6de58c7853cea6.rlib --extern orbfont=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbfont-5879d4e9c092a038.rlib --extern cssparser=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libcssparser-1a1df568b0f3dd6d.rlib --extern orbclient=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbclient-1a58a496db848d41.rlib --extern lazy_static=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liblazy_static-1c80d2cad2902ef3.rlib --extern orbtk=/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbtk-0826c56ed0415ec8.rlib`
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-m64" "-L" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.114xigf1yyw2gcw0.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.14okghhcs8gr08fy.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.16u6js6g0l3k1ic6.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1e698527iprj2v8f.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1im38lueib99jsk0.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1sohrwwo7zq9ccps.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1y16o1qfye96o7m0.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1zeawhkbeobww1zn.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.1zwd8n7bcl3vhvvh.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.20k2p1t0yujfjghi.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.23tqyymcb18u96mb.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.25mb1p8d9mkopkfw.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2edf99ffqlo93ilx.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2jqywn86b2gsqohu.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2kjrmm4fe2aha78f.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2lyh15q6cjwzy18c.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2r82puffnvvb8iic.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2v0vwxdi6n8zlk28.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2w6xsa2hbi53xhak.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.2xgqgqrgyyyz78if.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3171x0bwu82dptu7.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.35dif2yfqvun9jag.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3ayaeypdcro9d6yk.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3cx7oljifvb206q7.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3g94tobrpgum5dk6.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3gvngmywq786gqnx.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3ik0x0hz6l66cx38.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3oqznv5oym7l3m4e.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3rngp6bm2u2q5z0y.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.3w6uezwn627od0jm.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.436dotimmrgzkwfa.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.43v6g0y2xsxoggnt.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.45nf4z58qqykpcpi.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.45pc7c65foh9i35f.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.48721dc4k5qxei0u.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.49a7n47po4ttqjl7.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.49lx1q7cxvpykyv0.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4cuh1vnlot3f7m9v.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4ealtehfjozdlcdl.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4ezmh1vbs95c5ack.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4g0ivxer0twv60kh.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4g4m3v5x9045spb3.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4jdnq7xfjeka1bt.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4rzh6npf1tuwcxx9.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4u9t6u5qyii043yg.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4xg5vw82i9wrwzn4.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4xq48u46a1pwiqn7.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4xuhwz5yy6q4gvgg.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4yh8x2b62dcih00t.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.4ypvbwho0bu5tnww.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.50c45winbp4lizjn.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.51f744vxg20v9m0d.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.57k06xfugllsc526.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.5fcgaybrt0zpf8mw.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.63mmpc50mjcb0lb.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.6ovuhvcl54sjbv6.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.7p53qlves2rwxx0.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.8xzrsc1ux72v29j.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.98g0d9x8aw3akpe.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.9elsx31vb4it187.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.bxp0med4do8g2u9.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.c6lbtaiefvx3wya.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.e19kx9t7xhzajfl.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.flypaog9cyk0inx.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.i8jnq1osdu9eeuc.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.kt25z0521ngsjub.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.pqmjx25qpxkduz7.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.rbi4cajrrges6at.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.tv9iqhnftxrrm1f.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.uw5mj8q3xwsanzs.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.vpbpnff9uk7ha66.rcgu.o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.yqfm7v2rw3swncg.rcgu.o" "-o" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/examples/widgets-a6aed422bc6e0bf2.crate.allocator.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps" "-L" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbtk-0826c56ed0415ec8.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbfont-5879d4e9c092a038.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/librusttype-95bd6e4e770551d2.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liblinked_hash_map-3ab62b1a7078c1dd.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libstb_truetype-695aee47f5c7ed7e.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libbyteorder-506a3e012c252131.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libarrayvec-919fd8206a2277ba.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnodrop-e695e09ac064249e.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libcssparser-1a1df568b0f3dd6d.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libphf-078c9f146103a99b.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libphf_shared-7aade818e35cc2d3.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libsiphasher-92ac0d6be93af8c8.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libprocedural_masquerade-8b4622bc07b3c0cb.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libmatches-e44747f1b9b5abe5.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbimage-6f6de58c7853cea6.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libimage-7801bf41b158924b.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libscoped_threadpool-300bd5798fe94106.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libgif-3c905d12328df3be.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libcolor_quant-2f4863bfa6d06065.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liblzw-cca52f9c1a2d751f.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libjpeg_decoder-80602769bf8035e2.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/librayon-761664d21d94d4fe.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/librayon_core-68dc4d43980ff234.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum_cpus-4ddb1f2dbeeef484.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libcoco-95fd259a41d30edf.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libscopeguard-c51d9ccdea972077.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libeither-abe35bb649d2b183.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libpng-0aef100c19c8a5ab.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libdeflate-eaafa3438ef1a1c3.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libadler32-00bb2ca93b58e277.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libinflate-8e354d7a8e26b303.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libenum_primitive-b2b532e292e03751.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum_rational-9da79284adb33dee.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libbyteorder-d22202b6ccf637a4.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libresize-e7afe991bc01b305.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liborbclient-1a58a496db848d41.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libsdl2-402e545a51d62616.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/librand-5ba0aa2908d68633.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libsdl2_sys-57e4743567343809.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libbitflags-757f04607e2ce7e2.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liblazy_static-1c80d2cad2902ef3.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/liblibc-37eea92b7cbeea63.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum-b5731e42cb327bdf.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum_iter-59155a64e42bd75d.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum_integer-da3a5c2b3f002f72.rlib" "/Users/SG/OpenSourceProjects/RedoxProj/orbtk/target/debug/deps/libnum_traits-227d846701b184b0.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-508c94b5b6514961.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-885b2a3d757e2dc2.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-a4d84e65901b0a31.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-5039973bfc2d436a.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc_system-687d77f4be19d461.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-02047c0c57b4f741.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-f56a520e2a540cda.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd_unicode-dbe48050bb02c7ee.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-6ee4b7a50e610a70.rlib" "/Users/SG/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-dd390f3d1246a031.rlib" "-l" "SDL2" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
= note: ld: library not found for -lSDL2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous errorhttps://gitlab.redox-os.org/redox-os/orbclient/-/issues/39build failure with rustc nightly2018-06-14T21:49:07ZJeremy Sollerbuild failure with rustc nightly*Created by: matthiaskrgr*
````
rustc 1.24.0-nightly (4a7c072fa 2017-12-25)
cargo 0.25.0-nightly (e08f31018 2017-12-24)
````
````
cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling num-t...*Created by: matthiaskrgr*
````
rustc 1.24.0-nightly (4a7c072fa 2017-12-25)
cargo 0.25.0-nightly (e08f31018 2017-12-24)
````
````
cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling num-traits v0.1.41
Compiling libc v0.2.34
Compiling lazy_static v0.2.11
Compiling bitflags v0.7.0
Compiling sdl2-sys v0.30.0
Compiling rand v0.3.18
Compiling num-integer v0.1.35
Compiling num-iter v0.1.34
Compiling num v0.1.41
Compiling sdl2 v0.30.0
Compiling orbclient v0.3.12 (file:///tmp/orbclient)
error: borrow of packed field requires unsafe function or block (error E0133)
--> src/color.rs:59:31
|
59 | write!(f, "{:#010X}", self.data)
| ^^^^^^^^^
|
note: lint level defined here
--> src/lib.rs:9:9
|
9 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(safe_packed_borrows)] implied by #[deny(warnings)]
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #46043 <https://github.com/rust-lang/rust/issues/46043>
error: borrow of packed field requires unsafe function or block (error E0133)
--> src/renderer.rs:59:27
|
59 | let old = &mut data[y as usize * w as usize + x as usize].data;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #46043 <https://github.com/rust-lang/rust/issues/46043>
error: aborting due to 2 previous errors
error: Could not compile `orbclient`.
To learn more, run the command again with --verbose.
````https://gitlab.redox-os.org/redox-os/orbclient/-/issues/32Use serde/bincode for event serialisation?2023-09-24T09:36:15ZJeremy SollerUse serde/bincode for event serialisation?*Created by: kaedroho*
Just wondering if you would be interested in accepting a PR refactoring the event serialisation/deserialisation to use ``serde`` and ``bincode``.
The current method requires transcoding all the information about ...*Created by: kaedroho*
Just wondering if you would be interested in accepting a PR refactoring the event serialisation/deserialisation to use ``serde`` and ``bincode``.
The current method requires transcoding all the information about the event into two ``u64``'s[1]. I found this to be tricky and error-prone when I did it myself.
I think we can greatly simplify this by deriving Serialise/Deserialise traits using serde_derive[2] on the ``Event`` enum, then use bincode[3] to perform the encoding into a ``Vec<u8>`` which can be sent across the wire.
[1] https://github.com/redox-os/orbclient/blob/4f0214020ee79fb754128ea7770e35896f13d6cf/src/event.rs#L293-L296
[2] https://github.com/serde-rs/serde/tree/master/serde_derive
[3] https://github.com/TyOverby/bincodehttps://gitlab.redox-os.org/redox-os/orbclient/-/issues/25The linear gradients are broken2018-06-14T21:49:07ZJeremy SollerThe linear gradients are broken*Created by: xTibor*
I tried to use them recently and I found out that the rendering routine is fairly broken:
* The axis-aligned gradients don't respect the starting point parameters.
* The axis-aligned gradients don't render corre...*Created by: xTibor*
I tried to use them recently and I found out that the rendering routine is fairly broken:
* The axis-aligned gradients don't respect the starting point parameters.
* The axis-aligned gradients don't render correctly when the ending point precedes the starting point.
* Non axis-aligned gradients render in an incorrect angle.
* Non axis-aligned gradients mirror themselves over the starting point.
Test app: https://gist.github.com/xTibor/ff1b1a040a0716338d73655ff85d1229
It might worth a rewrite at this point. I could tackle it if needed.https://gitlab.redox-os.org/redox-os/orbclient/-/issues/23MouseEvent should let the user know whether mouse button was pressed or relea...2018-06-14T21:49:07ZJeremy SollerMouseEvent should let the user know whether mouse button was pressed or released.*Created by: ca1ek*
Buttons in GUI's will react to LMB being released, not pressed down. This can't be implemented without a way to know if and what mouse button was released.*Created by: ca1ek*
Buttons in GUI's will react to LMB being released, not pressed down. This can't be implemented without a way to know if and what mouse button was released.