bronzie94 has quit [Quit: Vision[0.10.3]: decohering into the wider multiverse!]
aakashi2001 has joined #haiku
aakashi2001 has quit []
skirst has quit [Quit: skirst]
skirst has joined #haiku
dinix has joined #haiku
bbjimmy1 has quit [Ping timeout: 480 seconds]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
rodolphoeck has joined #haiku
jmairboeck has joined #haiku
repetitivestrain has joined #haiku
tuaris has quit [Read error: Connection reset by peer]
amk has quit [Ping timeout: 480 seconds]
amk has joined #haiku
mmu_man has joined #haiku
Huggy has joined #haiku
rando25902 is now known as rando25892
frankps has quit [Ping timeout: 480 seconds]
BrunoSpr has joined #haiku
<Not-5726>
[haiku/website] pulkomandy pushed 1 commit to master [+1/-0/±0] https://git.io/JEYXh
<Not-5726>
[haiku/website] HrithikKumar49 3f3945b - GSoC 2021 Final Report: Coding style checker bot for Gerrit (#556)
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has quit [Ping timeout: 480 seconds]
DKnoto has quit [Quit: Leaving]
repetiti` has joined #haiku
repetitivestrain has quit [Read error: Connection reset by peer]
countryboy has joined #haiku
<countryboy>
hullo
<countryboy>
hello boys and girls ...
<countryboy>
peace
repetiti` has quit [Read error: Connection reset by peer]
<SamuraiCrow[m]>
Hello countryboy
<countryboy>
Hello SamuraiCrow[m]
<SamuraiCrow[m]>
What are you doing with Haiku nowadays?
<countryboy>
10 PRINT "ARE YOU FROM JAPAN ?"
<SamuraiCrow[m]>
I'm from the US but I like the old BASIC syntax.
<countryboy>
fine, thanks, a joke ...
<SamuraiCrow[m]>
🙂
<countryboy>
:-)
<countryboy>
SamuraiCrow[m]: and basic 4 haiku ?
<SamuraiCrow[m]>
Today I'm going to have to do a crash course in MMU usage under Haiku to get Wasmer to work.
<SamuraiCrow[m]>
I tried writing a transpiler for YAB but it was hard to debug because I wrote it in C++.
<countryboy>
i don't like yab ...
<SamuraiCrow[m]>
YAB is Haiku's main version of BASIC.
<SamuraiCrow[m]>
It's not my favorite either.
<countryboy>
and DIM ?
<SamuraiCrow[m]>
The command?
<countryboy>
yes ...
<SamuraiCrow[m]>
What about it?
<countryboy>
there is no dim command in yab ...
<countryboy>
all variant ?
<SamuraiCrow[m]>
I saw a REDIM command so there has to be a DIM.
<SamuraiCrow[m]>
It's based on YaBasic and it has Dim.
<countryboy>
ok
<SamuraiCrow[m]>
What I don't like about YAB is that it was designed to be interpreted.
<SamuraiCrow[m]>
No compiler.
DKnoto has joined #haiku
repetitivestrain has joined #haiku
<SamuraiCrow[m]>
I started to write one but never finished debugging it.
<repetitivestrain>
does anyone know if there's a convenient way to get the window the mouse currently points at?
<repetitivestrain>
programmatically, I mean
<repetitivestrain>
thanks
HaikuUser has joined #haiku
HaikuUser has quit []
<countryboy>
compiler is better 4 me ...
<repetitivestrain>
on X-windows, for instance, i would have used XQueryPointer on the root window in conjunction with XTranslateCoordinates to fetch the child window
<repetitivestrain>
would that be possible on Haiku?
<SamuraiCrow[m]>
mrentropyvcs Planning for the apocalypse?
<mrentropyvcs>
SamuraiCrow[m]: Nope, just the next sprint. An apocalypse meeting is something I could get behind.
<SamuraiCrow[m]>
😁
<repetitivestrain>
x512: BView.GetMouse won't do, it can't be guaranteed that I will have a view
<repetitivestrain>
nielx: i'm porting GNU Emacs
<repetitivestrain>
much of the window system machinery Emacs exposes to Emacs Lisp code is based on forcing X-windows semantics onto any random window system out there
<repetitivestrain>
in this case it's XTmouse_position, which finds the current window (frame in emacs parlance) underneath the pointer on a display
<repetitivestrain>
and returns the window along with cursor position info
<x512[m]>
Hidden window with a view may help. It is also possible to set event mask so mouse events will be always received even if pointer is outside of window.
<repetitivestrain>
what about finding the window currently beneath the cursor in the current workspace?
<repetitivestrain>
For instance in X-windows, XTranslateCoordinates (unintuitively) also serves the purpose of locating windows (child windows of the root window) at a given position
<x512[m]>
There are currently no such API if I am correct. You may thaverse windows and find intersection with point manually.
<x512[m]>
* There are currently no such API if I am correct. You may traverse windows and find intersection with point manually.
<repetitivestrain>
Thanks
<x512[m]>
Be careful that each window runs in each own thread.
<repetitivestrain>
yeah, I will
countryboy has quit [Quit: countryboy]
<nielx[m]>
repetitivestrain: : you could get the current coordinates of the mouse and use your own logic to convert that to a window
<nielx[m]>
anyway, gtg now
mmu_man has quit [Ping timeout: 480 seconds]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
rodolphoeck has quit [Quit: gone]
mchasard has joined #haiku
mmu_man has joined #haiku
macdude22 has quit [Ping timeout: 480 seconds]
mchasard has quit []
Animortis has quit [Quit: leaving]
BrunoSpr has quit [Quit: Vision[0.10.3]: Ich wurde ausgebleicht!]
<Not-5726>
[haikuports/haikuports] threedeyes pushed 1 commit to master [+2/-2/±0] https://git.io/JEOwR
<Not-5726>
[haikuports/haikuports] threedeyes 6a1d2af - QMMP: bump version
<Not-5726>
[haikuports/haikuports] threedeyes pushed 1 commit to master [+1/-1/±0] https://git.io/JEOon
<Not-5726>
[haikuports/haikuports] threedeyes e853bc4 - qmmp-plugin-pack: bump version
BrunoSpr has joined #haiku
tbcr has joined #haiku
bbjimmy1 has joined #haiku
<Not-5726>
[haikuports/haikuports] pulkomandy pushed 1 commit to master [+1/-1/±0] https://git.io/JEOXO
<Not-5726>
[haikuports/haikuports] linkmauve d633bfc - dav1d: bump to 0.9.1
skirst has quit [Quit: skirst]
HaikuUser has joined #haiku
<HaikuUser>
this is super neat
<HaikuUser>
hmmm... i'm using the live ISO (on a USB stick), but i've run out of storage. it's only using like 700 megs of the stick... can i make it biger?
<mrentropyvcs>
Unfortunately, no. At least, not at this time.
<zdykstra>
however, you can format the remaining space on the USB drive for Haiku and install onto that
<zdykstra>
(assuming it's larger than 700mb)
<HaikuUser>
can i merge that with the root FS somehow?
<zdykstra>
I don't believe so, no.
<HaikuUser>
ok, i guess i'll just use one stick to install to another stick.
<mrentropyvcs>
I tried doing that, but it would never see the second partition to boot from it. I never tried deleting the installation partition.
bbjimmy has quit [Quit: Vision[0.10.3]: i've been blurred!]
<HaikuUser>
ah, unfortunate
<mrentropyvcs>
I mean, you can install to a different stick.
<mrentropyvcs>
I was talking about creating a new partition on the installer stick and installing to that new partition.
rodolphoeck has joined #haiku
HaikuUser has quit [Ping timeout: 480 seconds]
charles has joined #haiku
nimput has joined #haiku
<B2IA>
(AGMS) You also have to make the second memory stick bootable, HaikuUser. Which for UEFI means making a small EFI partition and copying the Haiku boot file to it. For older BIOSes, an old fashioned MBR that just runs the first sector in the Haiku parition (make it active) works, and the Installer will set up that first sector too (or use the makebootable command).
nimput has quit []
<B2IA>
(AGMS) There's probably a web page or three that describes that.
BrunoSpr has quit [Quit: Vision[0.10.3]: Ich wurde ausgebleicht!]
<SamuraiCrow[m]>
Is someone here familiar with porting to Haiku from FreeBSD?
countryboy has joined #haiku
<nephele>
That's a big question, are you talking drivers, gui apps, commandline apps? ;)
<SamuraiCrow[m]>
Drivers. I need the contents of the equivalent of a structure in sys/user.h to make the region crate from rust work on Haiku.
<SamuraiCrow[m]>
It's the return code from kinfo_vmmap
<SamuraiCrow[m]>
There are other OS headers to port from if FreeBSD isn't the easiest.
aakashi2001 has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
<Not-5726>
[haikuports/haikuports] diversys pushed 1 commit to master [+1/-1/±0] https://git.io/JE3Ed
<Not-5726>
[haikuports/haikuports] linkmauve a378731 - libavif: bump to 0.9.2 (#6141)
countryboy has left #haiku [#haiku]
<SamuraiCrow[m]>
nephele:
<SamuraiCrow[m]>
If you could just point me to the equivalent header that should be good enough/
<nephele>
I am unfamiliar with freebsd system headers
<SamuraiCrow[m]>
Oh ok.
<SamuraiCrow[m]>
If you don't mind my asking, what system headers are you familiar with? Region is already cross-platform to many platforms already.
<nephele>
honestly, I'm much more familiar with Haiku C++ headers than any posix C headers :)
<nephele>
I doubt I am the correct person to help you there, which is why I asked what you ment specifically
<nephele>
why do you need the FreeBSD variant for rust though?
<SamuraiCrow[m]>
I'm trying to port Wasmer. It's a WebAssembly runtime outside the browser.
<nephele>
Doesn't explain why you want the freebsd version specifically :)
<SamuraiCrow[m]>
There are drivers for Windows, Mac, Linux, OpenBSD, FreeBSD and IllumoOS. I thought since FreeBSD was where we get our WiFi drivers from, it might be easier than the others.
<nephele>
wait, what does the region crate even do?
<SamuraiCrow[m]>
It's an MMU controller.
<SamuraiCrow[m]>
It handles permissions of virtual memory.
<nephele>
It looks to be a wrapper over OS apis for virtual memory, not controlling the MMU or handeling permissions itself
<SamuraiCrow[m]>
Yeah.
<SamuraiCrow[m]>
As you probably know, I got my start on Commodore and Amiga. No MMU stuff there to draw from for experience.
<nephele>
you don't need to use the MMU directly at all, probably only bindings to the OS functions, we already provide allocation and stuff to userspace with apis (posix, and some haiku specific ones)
<nephele>
I can find docs for the crate but no source... :(
<SamuraiCrow[m]>
Ok. Would mmap.h be where to start looking?
<nephele>
I'd check the OS implementations of other posix-y OS in the crate, ours would likely be largely similar
<Coldfirex_>
nephele: I take it I look up the date the recipe was added? If so, then it definitely failed to build that day
<Not-5726>
[haikuports/haikuports] korli pushed 1 commit to master [+2/-2/±0] https://git.io/JE313
<Not-5726>
[haikuports/haikuports] kwyxz ef62e96 - RetroArch: bump to version 1.9.8 (#6142)
<nephele>
Not sure how it works exactly, but i think it only builds once for a push/commit, so if it failed then and got no revbump later it probably stayed broken
<Coldfirex_>
10-4, I will open a ticket. thanks!
tqh has joined #haiku
macdude22 has joined #haiku
countryboy has joined #haiku
countryboy has left #haiku [#haiku]
BrunoSpr has quit [Quit: Vision[0.10.3]: Ich wurde ausgebleicht!]
<jmairboeck>
Can anyone explain to me what "meta ports" are in haikuporter or haikuports? I was just reading through haikuporter's source code and stumbled upon that
<waddlesplash>
not sure ... may be a holdover from pre-packaging haikuporter?
DKnoto has joined #haiku
<jmairboeck>
the condition is initialized like that: self.isMetaPort = self.category == 'meta-ports'
<jmairboeck>
I was trying to understand whether generating the definitions of subpackages for a package dynamically is possible (for splitting up texlive), and I came to conclusion: probably not
<waddlesplash>
TBH, should we even distribute this as packages?
<waddlesplash>
can't it be fetched dynamically, a la CPAN for perl?
<waddlesplash>
the base distribution should be packaged, but the other non compiled stuff would ideally not be, especially seeing as it's multiple GB
<jmairboeck>
you are right, I suppose that would also be a possiblity
<jmairboeck>
but can then other packages depend on stuff from CTAN?
<jmairboeck>
lilypond needs MetaFont for building, and if only the binaries are installed, it hangs because metafont can't find some files it needs and asks interactively for it
<waddlesplash>
probably not, but is that a problem?