ablyss has quit [Remote host closed the connection]
Calisto has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
mmu_man has quit [Ping timeout: 480 seconds]
Calisto has quit [Ping timeout: 480 seconds]
wintp_ has joined #haiku
wintp_ has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
HaikuUser has joined #haiku
cmkat has joined #haiku
<cmkat>
hi there
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
v_harkonnen has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
hsay has joined #haiku
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
hsay has quit [Quit: Page closed]
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
mr_lou has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
slendi has joined #haiku
<slendi>
Hello
<slendi>
I tried to switch up caps lock and escape and I can definetly see how changing the keymap is inconistant, in the terminal it works just fine but in nvim-qt, it's kind-of a weird hybrid of the default layout and mine with the keys switched around
mr_lou has quit [Quit: Leaving]
wicknix has joined #haiku
Calisto has joined #haiku
slendi has quit [Quit: WeeChat 4.1.2]
vdamewood has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
coolcoder613 has quit [Ping timeout: 480 seconds]
coolcoder613 has joined #haiku
moparisthebest has quit [Quit: Gateway shutdown]
<Calisto>
Heyy... So I got a reply back from my GSoC mentee request... And the mentor for the issue gave me a few starter issues to work on... Including one for the codycam application and it's LayoutAPI issue... I was looking through the source code on GitHub and wasn't able to exactly find it... If anyone knows the exact location of the source code.... Could they help me out... Also the darkwyrm docs don't really have much on the LayoutAPI so apart from the Haiku
<Calisto>
Book are there any other resources on the topic?
HaikuUser has quit [Ping timeout: 480 seconds]
cmkat has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
humdinger has joined #haiku
<humdinger>
Calisto: codycam is under src/apps/
<Calisto>
Yup the main code for the layout is in which file mainly?
<humdinger>
I think there never was a part 2 to that...
x10z_ has joined #haiku
x10z___ has joined #haiku
x10z__ has quit [Read error: Connection reset by peer]
x10z__ has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
moparisthebest has joined #haiku
x10z_ has quit [Ping timeout: 480 seconds]
x10z___ has quit [Remote host closed the connection]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x10z has joined #haiku
freddietilley has joined #haiku
x10z__ has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
x10z__ has joined #haiku
<Calisto>
Okay
<Calisto>
Ill try to figure it out then by reading that link and trying something out
<humdinger>
yeah, trial&error is the way... :)
<Calisto>
xD
<humdinger>
and looking for similar layouts in other apps and check their source.
x10z has quit [Ping timeout: 480 seconds]
<Calisto>
I g that's the fun of it... i just am worried that I won't be able to complete it
<Calisto>
Are there any major apps
<Calisto>
That use the layout API
<humdinger>
pretty much all that are under srcs/apps and preferences
<humdinger>
plus many native apps at HaikuArchives
<Calisto>
Okay cool I'll try going through a few and grepping like u said
<humdinger>
and outside it
<humdinger>
most layouting is done in files named SomethingWindow.cpp and SomethingView.cpp etc
<Calisto>
Btw its my first time ever like going through open source and such a large codebase... So I may have doubts about compilation and everything... Is it okay if I ask them here if I'm really not getting it?
<Calisto>
Oh okay
<Calisto>
Makes sense in darkwyrms docs also... It was like there was seperation of GUI and core functionality
<Calisto>
I guess most of my thing would be the GUI side of it only right?
x10z_ has quit [Ping timeout: 480 seconds]
<humdinger>
I don't know the ticket on codycam...
<Calisto>
One sec
<Calisto>
Ill just send it here
<Calisto>
I got it from the email
x10z has joined #haiku
<Calisto>
Also one more thing... Since I'll be developing using primarily an Ubuntu Setup
<Calisto>
Like I'm a bit confused about how I'm supposed to compile and check my changes regularly
<Calisto>
I have a haiku dual boot
vezhlys has quit [Quit: Leaving]
<humdinger>
Haven't compiled from linux in ages... I'd say work in Haiku. you can build an app and test it too
<Calisto>
Okay then
<Calisto>
I've installed paladin and genio
<humdinger>
like "jam -qj8 CodyCam"
<Calisto>
Ill work off of Haiku only then
<Calisto>
Oh and it automatically changes the version that's installed as well.
<Calisto>
?
<humdinger>
and then execute the binary somewhere undere "generated"
<Calisto>
Oh okay cool
<Calisto>
That's so much better
<humdinger>
I say
<Calisto>
And I'd have to do the same thing for getting the source code like regular cloning and everything?
<Calisto>
Or is it slightly different
<Calisto>
It's using Gerrit as far as it was written on the website
<Calisto>
I'm yet to read that doc
<Calisto>
Will probably do that before I get into trying to fix the issue
x10z_ has joined #haiku
<humdinger>
yep. (I think) you need the code in Haiku.
<Calisto>
Okayyy so will all of this be there in the darkwyrm docs on source code
<Calisto>
I just finished the sections pertaining to UI and everything
<humdinger>
doubt it. that thing is over a decade old...
<Calisto>
Sorry for the questions (probably basic ik xD) but im really new to this OS
<Calisto>
Ohhh okay
<Calisto>
I guess I'll just ask it here then :)
<humdinger>
keep asking. I'll be afk though soon. groceries...
<Calisto>
Same i have classes xD
<Calisto>
But hopefully I can get started on this by tomorrow
* humdinger
nods
<Calisto>
Just have to figure out this Layout API and compilation thing and wrap my head around it :(
<Calisto>
Thanks so much humdinger
<humdinger>
np
<Calisto>
Ill probably end up being active on this chat If that's not an issue? Especially while fixing the first issue so that I can get a hang of it?
x10z__ has quit [Ping timeout: 480 seconds]
<humdinger>
sure. check back the logs if someone answered while you wre offline
<Calisto>
Basically for GSoC i want to work on the tracker UI mockups that were given through the associated tickets but for now to get a hang of what to do... I asked for easier things to do
<Calisto>
Apart from darkwyrm docs theres no other place to learn the UI parts of it?
<Calisto>
And the API docs?
<humdinger>
Pretty much only the HaikuBook, the old BeBook and the code
<Calisto>
Yup... The only issue is that my college internet doesn't allow external IRC connections as a whole :sob
x10z has quit [Ping timeout: 480 seconds]
<Calisto>
So I don't k what to do in that case
<Calisto>
Cuz sometimes I might end up asking something but my device would never received back the reply cuz of the firewall 🥲
<Begasus>
Halamix2, still no luck on hedgewars here, even tried with QtCreator :/
<Begasus>
too bad it doesn't contain a lazarus project script, as my setup for lazarus is fine here
<Calisto>
Btw in the LayoutAPI what exactly does the weight mean?
<Calisto>
While adding an item to a BLayout?
<Calisto>
Was reading the docs and couldn't understand what exactly it did
<Calisto>
Tho will just build a quick app
<Calisto>
To try it out
<Calisto>
Also all apps are now using the LayoutAPI rather than obviously positioning everything manually right?
<Begasus>
See, that's where I'm useless ;)
<Calisto>
:sob
<Calisto>
Issok hopefully someone who has worked on the layout thing could help
<Calisto>
Like the last change to codycam is listed as 3 years ago
bitigchi has joined #haiku
<PulkoMandy>
Calisto: Yes, all apps were converted to use layouts, since it makes it a lot easier to adjust automatically to different font size setting
<Calisto>
Oh okay that's great then... Is there any like app that has a relatively easy to read source code out of everything for seeing how the Layout renders and everything... I think I'm getting the basics of it from the documentation itself... But to see a real app would be easier I think?
<Calisto>
Like any recommendations?
<PulkoMandy>
The weight defines how the lines or columns are spread if there are no other constraints, for example if you have a view with weight 2 and another with weight one they will use 2/3 and 1/3 of the available space
<PulkoMandy>
However, usually there will be other constraints, for example a string view does not want to be too small and not be able to show the complete string, so the layout system also takes each view minimum, maximum and preferred size into account
<Begasus>
jikes ... opencv again ...
<Calisto>
Oh right right that makes sense
<Calisto>
Also in the photo uploaded on the ticket
<PulkoMandy>
have you read the "laying it all out" article linked earlier? It studies in details the layout of the midi player app which is a quite simple one
<Calisto>
Is there a reason the fields are going out of the render space or is it cause it's not resizing automatically or something?
<Calisto>
Yup I was reading that rn
<PulkoMandy>
You can compare that with the full sourcecode of the app
<Calisto>
The intro to LayoutAPI thing
<Calisto>
And i had grepped the layout part of CodyCam
<Calisto>
Cool
<PulkoMandy>
One thing I sometimes do is change the background color of various views (using SetViewColor or SetLowColor) to see where each view really is
<PulkoMandy>
It helps better understanding how the layout is built and what's happening
<Calisto>
Right
<Calisto>
I mean I'm from a web exp before this so that makes sense
<Calisto>
Ill try to make a proper app with the LayoutAPI first
<Calisto>
And move into the issue after a few days hopefully once I get the hang of it
<Calisto>
How long do u think it would take in general to get the entire hang of it
<Calisto>
And start making contributions?
<Calisto>
For now I left the darkwyrm docs that are in the advanced section but will probably read a few including the source code one for contributions
<Calisto>
Are the remaining ones important for contributing to UI of apps?
<PulkoMandy>
I don't think anyone knows everything about all of Haiku. Just learn what you need to fix one bug (or even better understand the bug), and start from there
<Calisto>
Yup that was the approach I was also trying to take
<PulkoMandy>
And then you can do more and more complex tasks and find more subtle and complicated bugs :)
<Calisto>
Reading it all at once was starting to get overwhelming
<Calisto>
Ive been following that closely and compiled a few apps where I positioned everything absolutely but then when you sent me the ticket I got to k about the LayoutAPI so probably will learn that and apply it as soon as possible
<PulkoMandy>
Yes, you just need to find your way around in the source (know that apps are in src/apps, that all the layout and views stuff is in src/kits/interface for example), where to find documentation (when it exists), and how to quickly make changes and test them
* coolcoder613
*loves* freeing up space, so much fun
* coolcoder613
once freed up 70GB in one day, his personal record
<phschafft>
it's always fun when you see rm take time to remove a single file.
<phschafft>
just because it needs to free the blocks.
<phschafft>
and while all that got much faster (both hardware and more optimised fs operations), disks also became larger, so I would say it still happens to me at a more or less constant rate for the last 25 years or so.
<Begasus>
+30GiB now :) not bad
wintp has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
x10z_ has quit [Read error: Connection reset by peer]
Calisto has quit [Ping timeout: 480 seconds]
x10z has quit []
wintp has joined #haiku
bitigchi has joined #haiku
<coolcoder613>
gtg, g'night
wintp has quit [Ping timeout: 480 seconds]
<Begasus>
cu coolcoder613
wintp has joined #haiku
coolcoder613 has quit [Ping timeout: 480 seconds]
<Begasus>
K, CudaText 1.209.05 up and running (build with Lazarus/FPC) :)
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
wintp has joined #haiku
bitigchi has quit [Remote host closed the connection]
<andreasdr[m]>
Begasus (@_oftc_Begasus:matrix.org): Where would I place a man file into ~/config/non-packaged?
<andreasdr[m]>
Just working on our MinitScript.
<slendi>
Does invalidate_loop task on the kernel team also sometimes randomly make the CPU go brr for you guys as well? Or has that been fixed on nightly
<muhamed_emad[m]>
Begasus: I checked it. I do the same steps.
<Begasus>
ok, should be fine then? :/
<Begasus>
Warning: POLICY WARNING: "/packaging/lazarus/bin/lazarus" needs library "libiconv.so.2", but the package doesn't seem to declare that as a requirement
<Begasus>
bugger ... :P
wintp has joined #haiku
<Begasus>
bbl
<andreasdr[m]>
Begasus: Will try ~/config/non-packaged/man
x10z has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
<andreasdr[m]>
Does not work to open the man file afterwards with "man 7 minitscript"
<nekobot>
[haiku/haiku] 3bf4cdb73bb1 - network/ping: update to freebsd-current
_Dario_ has joined #haiku
xet7 has joined #haiku
<muhamed_emad[m]>
<muhamed_emad[m]> "I checked it. I do the same..." <- lol it worked now just deleted the previous build. Thanks for help
v_harkonnen has joined #haiku
wintp has quit [Remote host closed the connection]
wintp has joined #haiku
linuxmaster has quit [Ping timeout: 480 seconds]
<Begasus>
k, that didn't work :)
<_Dario_>
that new editor "Turbo" that appeared on HaikuDepot is great.
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #haiku
nephele has joined #haiku
mmu_man has joined #haiku
<nephele>
how can i disable the 32bit bios bootloader in the build again?
<nephele>
it's failing to build somehow and i don't care to investigate that. I'm not using it
* phschafft
waves to nephele.
<nephele>
hi phschafft
<phschafft>
all good?
<nephele>
yes
<phschafft>
was thinking about you a little earlier. having a question.
<nephele>
sure
* phschafft
jumps into the query. ;)
nosycat has joined #haiku
<nephele>
x512[m]: did you make any progress for ELF section for haiku suplementary data?
<x512[m]>
I have functional implementation with Mold linker.
<nephele>
Do you have a review ready, or something I can look at for the format?
<nephele>
I want to start playing around with this to make an ABI for the shell stuff, so you can write down for an application what interface it supports (and what data it can receive)
<waddlesplash>
nephele: I don't see how this is useful for a shell. You will be tied to one machine and won't be able to use the shell over a network in that case
<waddlesplash>
the only way is to negotiate features at runtime over the protocol
<x512[m]>
I can upload definitions for new ELF program header and patches for resource reading, but it will be hard to be practically useful until GNU LD (current default system linker) support will be added.
<nephele>
waddlesplash: do you expect the interpreter to run on a different machine than the actual programms.? that seems a bit wierd
x10z has joined #haiku
<x512[m]>
nephele: What tasks are you trying to achieve with ELF data embedding?
<x512[m]>
For short-term solution, it is possible to use objcopy to convert binary file to *.o file for linking.
<waddlesplash>
nephele: I expect the Terminal to run on a different machine than the programs, if running over SSH
<nephele>
create a stable interface from which the interpreter can discover what ports/arguments a programm supports for bulk data processing/"scripting"
<nephele>
waddlesplash: I'm not going to use Terminal
x10z_ has joined #haiku
<nephele>
no tty emulation or anything like that
<waddlesplash>
I said *a* Terminal
<waddlesplash>
maybe some other sort of application besides a TTY, but still, a Terminal
* phschafft
reads along.
<nephele>
Your complaint makes no sense to me. If you wish to start a process on this machine and send the data over the network you would then need to employ a network enabled way to discover the capabilities
<nephele>
for a local machine where data processors would use for example BMessages to communicate it makes no sense to need to use a negotiation alghorythm when the supported data can be known beforehand
<nephele>
for example a mkdir equivalent would accept "file directives" as input, you could discover this beforehand and send the data in the proper format
<x512[m]>
Isn't it already supported in Linux during command auto-completion?
<nephele>
i don't think "running over ssh" makes much sense apart from the plain "you can put udp/tcp packets in ssh"
<x512[m]>
Can't that auto-completion format be reused?
<nephele>
No. Command auto completion only tries to parse a grammar, it does not know what the entires "mean"
<x512[m]>
Re-annotating all command line utilities including ported ones looks like difficult task.
<waddlesplash>
I don't know if it really makes sense to define formats in this way.
<phschafft>
plus, as someone who wrote autocompletion scripts in the past: burn it down! don't try to reuse it!
<phschafft>
;)
<nephele>
and this textual grammar per-programm format makes it very difficult up to impossible to write different gui programms for the same task of setting up a bulk-processing chain VS a plain "just this command"
<nephele>
this should be two types of client programms "Interpreters" as such using the same underlying mechanisms
<x512[m]>
nephele: What is a problem with using existing Haiku resources?
<nephele>
x512[m]: yes. I will not do this, there is no direct compatibility with posix-like "argv" interface for commands
<nephele>
x512[m]: nothing
<phschafft>
plus, with a logic of knowing the ports for a function one can just call it via some RPC protocol.
<nephele>
But phschafft wants to implement something similar, compatible to this, for Not Haiku. and an ELF section would be a portable way to do this that does not conflict with our way
x10z has quit [Ping timeout: 480 seconds]
<nephele>
waddlesplash: there are many problems that can be fixed by employing a structured way for programms that do this kind of bulk processing "scripting" to interact with each other, compared to the "it's just text and pass these options"
<x512[m]>
For me problem with Haiku resources is that it are not mapped to memory and it is currently difficult/slow to discover offset to beginning of resource data. It complicates using resources for kernel code.
<nephele>
for example the current launch_roster interface improvement kallisti5 wants to do where the arguments are "oh but you need to check for an interactive terminal and add these specific options to turn off/on colors"
<x512[m]>
nephele: I think that you need to implement proof-of-concept first instead of attempting sending some patches right now.
<x512[m]>
Haiku resources or objcopy should do the job.
<nephele>
x512[m]: Yes, i was wondering if your work was available to build ontop of
<phschafft>
x512[m]: but that exactly solved by using a section. I mean with a section you can just tell it to load.
<phschafft>
load === map in this case.
<kallisti5[m]>
🍿
<nephele>
but if it is not ready i will use haiku ressources
<nephele>
kallisti5[m]: I'm very happy for Noto Emoji by default on Haiku
<nephele>
monochrome emojis are great
<kallisti5[m]>
lol
<nephele>
(I'm not even joking about that, i really like them)
<x512[m]>
Example applications that use PT_HAIKU_RESOURCES if someone want to test or inspect.
<phschafft>
U creat
<phschafft>
hu?
<x512[m]>
phschafft: ?
<phschafft>
I'm just wondering why that is used by any software in 2024 ;)
<CalistoMathias>
heyy... so just had a small question... as part of using layoutAPI in creating Haiku Apps
<CalistoMathias>
do we need to use the BGroupLayoutBuilder
<CalistoMathias>
or is it just an easier way to build the layout?
gouchi has joined #haiku
gouchi has quit []
v_harkonnen has quit [Ping timeout: 480 seconds]
<waddlesplash>
BGRoupLayoutBuilder is deprecated
<waddlesplash>
use BLayoutBuilder::Group<>
<CalistoMathias>
oh okay
<CalistoMathias>
cool ill read up on that then
<CalistoMathias>
i was actually following the MIDI player example that was given on the website
<CalistoMathias>
is there any place where we can see which are the deprecated things and everything?
<CalistoMathias>
they both work on the same kind of operations though right?
<nephele>
api.haiku-os.org ?
<CalistoMathias>
I'm referring mostly to that only.. but i'm not sure whether it lists the classes which are deprecated
<CalistoMathias>
there's no mention of it on the BGroupLayoutBuilder page at all :sob
<nephele>
"Deprecated helper class that helps building a BGroupLayout. More... " ?
<CalistoMathias>
oh my god rip :sob my reading ability :Sob
<CalistoMathias>
nevermind im sorry :sob
<CalistoMathias>
i was reading the rest of the page before that struck me :sob
<CalistoMathias>
but I guess its fine xD
v_harkonnen has joined #haiku
<CalistoMathias>
is there any like example sort of page (like "Laying it all out") for the newer classes?
<phschafft>
It happens.
<CalistoMathias>
yah :( I have been trying to wrap my head around this LayoutAPI thing since morning :sob so I guess its taking its toll right now xD
<CalistoMathias>
but in general... why were the builders used instead of the direct layout classes? any particular reason? (even though they are deprecated right now)
<nephele>
Hmm, dunno about example blogs :(
<nephele>
i can link you to the commit i converted stylededit to layouts if that helps
<CalistoMathias>
also btw sorry for asking the same question again but like it wasn't answered that time... but is it like its compulsory to use the builder classes? or is it just to make things easier?
x10z has joined #haiku
<waddlesplash>
they should be used unless there's some good reason not to
<CalistoMathias>
oh okay
<CalistoMathias>
cool
<CalistoMathias>
okay then ill be AFK for a while
<CalistoMathias>
gotta read that page by the end of this hour xD
v_harkonnen has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
<mbrumbelow>
kallisti5: I am able to login to Gerrit... thanks for your help! I will close the ticket.
<CalistoMathias>
got it after searching for the Header file
wintp has quit [Ping timeout: 480 seconds]
<nephele>
CalistoMathias: yes, i don't think the menu one is documented at all
<CalistoMathias>
rip
FreeFull has joined #haiku
<CalistoMathias>
wait so then @nephele how exactly did you get to know how to use it and everything?
<CalistoMathias>
i know that might be a very stupid question :sob
<nephele>
uhh, good question
<nephele>
i don't quite recall how i discovered that for the stylededit one. I think I just read the headers for the menu layout builder to see what was available
<nephele>
and followed similar existing code
<CalistoMathias>
woah
<CalistoMathias>
for a beginner like me is that doable? like directly reading the header file itself?
<CalistoMathias>
like for the CodyCam thing tho i think its the Group<> one
<waddlesplash>
it's just code, isn't it
<waddlesplash>
?
<nephele>
yes, you can read the header
<CalistoMathias>
oh okay cool then ill just try and read the header if it comes down to it
<nephele>
but you should start with finding code that does what you want already
<nephele>
and then read the header to see what more it can do
<CalistoMathias>
also I had one really stupid question but like it wasn't there in the darkwyrm docs
<CalistoMathias>
like there is this data type called off_t
<nephele>
but normally we should just have documentation, sometimes it
<nephele>
's sparse though
wintp has joined #haiku
<nephele>
also because we'd rather check in good docs rather than poor ones
<CalistoMathias>
makes sense
<nephele>
personally i want way more code examples in the development docss
<nephele>
not sure if other devs share that sentiment, but i can learn much easier with examples
<CalistoMathias>
yahh i was reading the deprecated one (not knowing about the deprecation) and the code examples were helpign out
<nephele>
(since it puts stuff into context)
<CalistoMathias>
until I got to know that its deprecated from here xD
<CalistoMathias>
i mean for the fix that I need to make into the CodyCam issue its pretty much only the BLayoutBuilder::Group<> that I need to learn and re-implement
<CalistoMathias>
so for now i guess it should be fine
wintp has quit [Ping timeout: 480 seconds]
nephele has quit [Ping timeout: 480 seconds]
<CalistoMathias>
btw just had a small question... is it like a bad thing to like change the layout of a BBox directly
<PulkoMandy>
there is a known problem with BBox, ideally it should be possible to use .AddBox("box title") in the layout to insert a BBox in the proper place (and then insert another view or layout under it)
<PulkoMandy>
no one wrote code for that, and so currently it "breaks" the use of layout builder. You have to create one layout builder for what's inside the box, and another for what's outside
<PulkoMandy>
and, yes, unfortunately the documentation is not always complete and also there are bugs. So I often end up looking at the header files to see what's available, and at the implementation if I think it's not working as it should
<PulkoMandy>
for me that works well to discover more and more parts of the OS (and more bugs...) depending on what I work on
<CalistoMathias>
oh i see
<CalistoMathias>
so that's what causing the bug in the ticket that you had sent over mail?
wintp has joined #haiku
<CalistoMathias>
like the layout had been directly changed
<PulkoMandy>
I don't remember what I wrote there, but I think it was something like this: The BBox class uses its own layout which handles just two children view: the box "title" and the box contents
<CalistoMathias>
right...
<PulkoMandy>
I think in CodyCam someone used SetLayout to change that to some other layout and insert more views inside the box
<CalistoMathias>
so i guess one of the ways to fix this would be add a seperate view inside the box child?
<PulkoMandy>
yes
<CalistoMathias>
and then like assign that its own layoutBuilder
<CalistoMathias>
cool
<CalistoMathias>
ill try and do that
<CalistoMathias>
till then ill try and figure out this Gerrit thing
<CalistoMathias>
i have to still set it up properly... like I was using GitHub before this so will probably read the page on setting up Gerrit and try and fix it tom
<CalistoMathias>
thanks so much @PulkoMandy
mr_lou has joined #haiku
<CalistoMathias>
oh wait one last thing... even the title of the BBox is managed by its layout?
nephele has joined #haiku
<CalistoMathias>
ill have a look at the docs of BBox also once i guess then before getting on it
wintp has quit [Ping timeout: 480 seconds]
x10z_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<PulkoMandy>
there are multiple ways to use a BBox, in one case you can put another BView as the title (for example: a BPopUpMenu that allows to select one of several "pages" for the box contents; or a BCheckbox that enables/disables the whole content of the box). In that case, the special BoxLayout is used. If its just a string, I think no layout is needed for that, but maybe the layout is still used to add the need
<PulkoMandy>
ed space for the box border (so that the child view is always inside the border of the box)
<PriyanshuGupta[m]>
hello
<nosycat>
Hi there!
<nosycat>
From what little I've seen, GUI layout in Haiku is more freeform than with Gtk or Qt.
<nosycat>
And human interface guidelines more flexible.
<nephele>
more flexible?
<kallisti5[m]>
<mbrumbelow> "kallisti5: I am able to login to..." <- Awesome!
<nosycat>
nephele, I could be wrong
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
wintp has joined #haiku
<nosycat>
But if Yoshi is representative, then it seems that way.
Begasus has quit [Quit: Vision[]: i've been blurred!]
<nephele>
Haiku apps seem way more "in line "than linux apps to me
<nephele>
linux apps seem to be an incoherent mess of different toolkits and guidelines
<nosycat>
Arguably, but some of those can be rigid.
<nosycat>
wxWidgets for example has a very firm notion of how a main application window is laid out.
bjorkint0sh has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
stux has quit [Remote host closed the connection]
stux has joined #haiku
bjorkintosh has quit [Ping timeout: 480 seconds]
bitigchi has joined #haiku
wintp has joined #haiku
<CalistoMathias>
oh okay @PulkoMandy that sounds pretty cool
nosycat has quit [charon.oftc.net helix.oftc.net]
dqk has quit [charon.oftc.net helix.oftc.net]
Halamix2 has quit [charon.oftc.net helix.oftc.net]
xet7 has quit [charon.oftc.net helix.oftc.net]
gordonjcp has quit [charon.oftc.net helix.oftc.net]
CompanionCube has quit [charon.oftc.net helix.oftc.net]
petterhj has quit [charon.oftc.net helix.oftc.net]
woffs has quit [charon.oftc.net helix.oftc.net]
orealis has quit [charon.oftc.net helix.oftc.net]
mattmoose[m] has quit [charon.oftc.net helix.oftc.net]
RajAryan[m] has quit [charon.oftc.net helix.oftc.net]
Deepdarshan[m] has quit [charon.oftc.net helix.oftc.net]
TomBhadac[m] has quit [charon.oftc.net helix.oftc.net]
Commander[m] has quit [charon.oftc.net helix.oftc.net]
harshitsapkal[m] has quit [charon.oftc.net helix.oftc.net]
KENZ[m] has quit [charon.oftc.net helix.oftc.net]
printed[m] has quit [charon.oftc.net helix.oftc.net]
AhmedAlhojairat[m] has quit [charon.oftc.net helix.oftc.net]
xylobol[m] has quit [charon.oftc.net helix.oftc.net]
Huzaifa[m] has quit [charon.oftc.net helix.oftc.net]
eightbit[m] has quit [charon.oftc.net helix.oftc.net]
mull[m] has quit [charon.oftc.net helix.oftc.net]
Zor-Prime[m] has quit [charon.oftc.net helix.oftc.net]
NovaForte[m] has quit [charon.oftc.net helix.oftc.net]
boody24[m] has quit [charon.oftc.net helix.oftc.net]
JimmyDdotEXE[m] has quit [charon.oftc.net helix.oftc.net]
NisargThakkar[m] has quit [charon.oftc.net helix.oftc.net]
dcavalca has quit [charon.oftc.net helix.oftc.net]
Helvedeshunden[m] has quit [charon.oftc.net helix.oftc.net]
VitorReus[m] has quit [charon.oftc.net helix.oftc.net]
TarunArora[m] has quit [charon.oftc.net helix.oftc.net]
Kartikkeyankant[m] has quit [charon.oftc.net helix.oftc.net]
mj0908[m] has quit [charon.oftc.net helix.oftc.net]
ahmed[m]1 has quit [charon.oftc.net helix.oftc.net]
win8linux[m] has quit [charon.oftc.net helix.oftc.net]
EnriqueMG[m] has quit [charon.oftc.net helix.oftc.net]
gtramontina[m] has quit [charon.oftc.net helix.oftc.net]
atimaly_frei[m] has quit [charon.oftc.net helix.oftc.net]
senicar[m] has quit [charon.oftc.net helix.oftc.net]
DirkOlmes[m] has quit [charon.oftc.net helix.oftc.net]
subhashisghose[m] has quit [charon.oftc.net helix.oftc.net]
bronzie94[m] has quit [charon.oftc.net helix.oftc.net]
NorthwoodsNEKO[m] has quit [charon.oftc.net helix.oftc.net]
seraph[m] has quit [charon.oftc.net helix.oftc.net]
Unity[m] has quit [charon.oftc.net helix.oftc.net]
dryphb[m] has quit [charon.oftc.net helix.oftc.net]
Martini[m] has quit [charon.oftc.net helix.oftc.net]
semicoln[m] has quit [charon.oftc.net helix.oftc.net]
johnolinda[m] has quit [charon.oftc.net helix.oftc.net]
britishgeekguy[m] has quit [charon.oftc.net helix.oftc.net]
ritz[m] has quit [charon.oftc.net helix.oftc.net]
extravert34[m] has quit [charon.oftc.net helix.oftc.net]
Grumbleduke[m] has quit [charon.oftc.net helix.oftc.net]
TechnologyTim[m] has quit [charon.oftc.net helix.oftc.net]
faveoled[m] has quit [charon.oftc.net helix.oftc.net]
scops has quit [charon.oftc.net helix.oftc.net]
jt15s[m] has quit [charon.oftc.net helix.oftc.net]
acidsys has quit [charon.oftc.net helix.oftc.net]
dqk has joined #haiku
<CalistoMathias>
btw just had a really simple question... but in the orientation if we specify it as B_HORIZONTAL, it stacks the Layout items below each other right?
<nephele>
i think that is vertical
<nephele>
but you can try it out, you will see if that is wrong
x10z has joined #haiku
nosycat has joined #haiku
xet7 has joined #haiku
ahmed[m]1 has joined #haiku
Halamix2 has joined #haiku
CompanionCube has joined #haiku
gordonjcp has joined #haiku
woffs has joined #haiku
petterhj has joined #haiku
mattmoose[m] has joined #haiku
RajAryan[m] has joined #haiku
orealis has joined #haiku
Deepdarshan[m] has joined #haiku
TomBhadac[m] has joined #haiku
Commander[m] has joined #haiku
harshitsapkal[m] has joined #haiku
KENZ[m] has joined #haiku
printed[m] has joined #haiku
AhmedAlhojairat[m] has joined #haiku
xylobol[m] has joined #haiku
Huzaifa[m] has joined #haiku
eightbit[m] has joined #haiku
Zor-Prime[m] has joined #haiku
mull[m] has joined #haiku
boody24[m] has joined #haiku
NovaForte[m] has joined #haiku
JimmyDdotEXE[m] has joined #haiku
NisargThakkar[m] has joined #haiku
dcavalca has joined #haiku
TarunArora[m] has joined #haiku
VitorReus[m] has joined #haiku
Helvedeshunden[m] has joined #haiku
Kartikkeyankant[m] has joined #haiku
mj0908[m] has joined #haiku
win8linux[m] has joined #haiku
EnriqueMG[m] has joined #haiku
gtramontina[m] has joined #haiku
atimaly_frei[m] has joined #haiku
DirkOlmes[m] has joined #haiku
subhashisghose[m] has joined #haiku
senicar[m] has joined #haiku
bronzie94[m] has joined #haiku
NorthwoodsNEKO[m] has joined #haiku
seraph[m] has joined #haiku
dryphb[m] has joined #haiku
Martini[m] has joined #haiku
Unity[m] has joined #haiku
johnolinda[m] has joined #haiku
semicoln[m] has joined #haiku
britishgeekguy[m] has joined #haiku
ritz[m] has joined #haiku
Grumbleduke[m] has joined #haiku
extravert34[m] has joined #haiku
TechnologyTim[m] has joined #haiku
faveoled[m] has joined #haiku
jt15s[m] has joined #haiku
scops has joined #haiku
acidsys has joined #haiku
x10z_ has joined #haiku
<CalistoMathias>
cool
gordonjcp is now known as Guest1079
<CalistoMathias>
ill brb gotta boot into Haiku to set up the Gerrit thing :D
CalistoMathias has quit [Quit: Leaving]
<PulkoMandy>
yes, vertical is below each other and horizontal is left to right
<nekobot>
[haiku/haiku] d24476aaf035 - device_manager: PCI_display is used for virtio gpu
petterhj0 has joined #haiku
Halamix2_ has joined #haiku
_orealis has joined #haiku
petterhj has quit [Read error: Connection reset by peer]
Halamix2 has quit [Read error: Connection reset by peer]
felixp7 has joined #haiku
petterhj0 is now known as petterhj
x10z has quit [Ping timeout: 480 seconds]
tqh has joined #haiku
<PriyanshuGupta[m]>
PulkoMandy: as the write support is little too large as a whole so should i submit my patch as fragments
CalistoMathias has joined #haiku
Grumbleduke[m] has quit [Ping timeout: 480 seconds]
<CalistoMathias>
@PulkoMandy btw is the issue with CodyCam already fixed?
orealis has quit [Ping timeout: 480 seconds]
_orealis is now known as orealis
<CalistoMathias>
I just booted into Haiku and ran the CodyCam application
<CalistoMathias>
but everything already seems to be okay with its UI
nosycat has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
Grumbleduke[m] has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
felixp7 is now known as nosycat
<PulkoMandy>
PriyanshuGupta[m]: Yes, of course, we want to work one small change at a time
BrunoSpr has joined #haiku
<PulkoMandy>
CalistoMathias: I think you have to set a large font size in appearance preferences and restart the app and see what happens then
<PulkoMandy>
as said in the ticket comments: "it uses a hard coded top offset that hides this bug in the 'normal' font size case."
<BrunoSpr>
hello all
<PulkoMandy>
so the bug is only visible with larger text sizes
<nosycat>
Hi!
wintp has joined #haiku
<PriyanshuGupta[m]>
I'm going through the read support and get a little basic idea of how actually data is in the disc now I'm actually trying to figure out how all the things should be managed for write support
<PriyanshuGupta[m]>
while reading the docs i got to the free space management topic where i came to know how xfs manage the free space, is this a good way to start the write support .any suggestions?
<PulkoMandy>
there are various operations that are grouped together as "write support": creating a file, deleting a file, creating a directory, copying a file, ...
<PulkoMandy>
maybe you can start by looking into what steps each of these would need, and see if one is easier than the others
<CalistoMathias>
Oh okay @PulkoMandy that makes sense i guess, but at what minimum font-size does it start having issues?
<PulkoMandy>
you will indeed probably need some way to allocate space to the new data, so, keep track of which parts of the disk are free and available to store new things
<PulkoMandy>
CalistoMathias: I don't know, according to the ticket comments there may be problems with a 24px font size?
<CalistoMathias>
yah
<CalistoMathias>
but I just tried 24px
<CalistoMathias>
and everything seemed to be okay
<CalistoMathias>
ill try with an even larger size i guess
<CalistoMathias>
its taking quite a long while to clone the repo for some reason :sob
<PriyanshuGupta[m]>
PulkoMandy: any reference if u have for this
OscarL has joined #haiku
<PulkoMandy>
CalistoMathias: maybe it has been fixed then. Did you check the commit log for codycam to see if maybe someone already fixed the problem without noticing the ticket?
wintp has quit [Ping timeout: 480 seconds]
<OscarL>
CalistoMathias: the CodyCam ticket original reporter mentions he only sees the problem on real hardware, with HiDPI display.
<CalistoMathias>
i was checking the github repo and there were no changes for quite a while... maybe it has been fixed already as I just tried with font of 35px as well
<CalistoMathias>
where can I check the commit log of this? to see whether it has been fixed
<CalistoMathias>
If it already has been fixed then maybe I will try and fix the other ticket that you had assigned to me
<CalistoMathias>
that one still has the issue of the checkboxes being misaligned
<CalistoMathias>
yah i was going through it but I can't find the exact commit
<CalistoMathias>
but at the same time, I'm unable to reproduce the issue on mine anymore
<CalistoMathias>
changed the font size to beyond 40px
<CalistoMathias>
but its still rendering fine
<PulkoMandy>
in particular look at how it replaced fCaptureSetupBox->SetLayout with adding a child view instead
<PulkoMandy>
and same for fFtpSetupBox
<CalistoMathias>
yah ill try and read through the changes once to see how things were done
<PulkoMandy>
so that would fix the problems listed in the ticket I think
<CalistoMathias>
so is this issue closed now?
<CalistoMathias>
oh ok
x10z_ has quit [Read error: Connection reset by peer]
<CalistoMathias>
ill try and read through the code then and understand as much as I can
<PulkoMandy>
but the top box that says "you need a webcam to use codycam" may still have problems
<CalistoMathias>
oh okay
<PulkoMandy>
unless that was also fixed by this or some later changes
<CalistoMathias>
yah
<CalistoMathias>
in any case the other ticket that you assigned to me through mail still has the issue so maybe I can try and fix the misalignment there
<bitigchi[m]>
Mmm the sweet feeling of using Haiku on bare metal again
<bitigchi[m]>
And not spending a night on a VM compiling build tools
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
<muhamed_emad[m]>
muhamed_emad[m]: in this line I casted pointers to uint64 to make addition possible however I don't think it will work for 32 bit systems but I am not quite sure
nosycat has quit [Quit: Leaving]
<muhamed_emad[m]>
anyone know if it's okay or not, and if not is there a better way?
<muhamed_emad[m]>
I found a way by including stdint.h by using "uintptr_t" but I think it is included in the project by another name however I don't know what it is
<muhamed_emad[m]>
* anyone know if it's okay or not, and if not is there a better way?
<muhamed_emad[m]>
I found a way by using "uintptr\_t" but I think it is included in the project by another name however I don't know what it is
<muhamed_emad[m]>
similar to what uint32_t is called uint32 . I tried uintptr but didn't work.
<muhamed_emad[m]>
* anyone know if it's okay or not, and if not is there a better way?
<muhamed_emad[m]>
I found a way by using "uintptr\_t" but I think it is included in the project by another name however I don't know what it is
<muhamed_emad[m]>
similar to uint32\_t called uint32 . I tried uintptr but didn't work.
wintp has quit [Ping timeout: 480 seconds]
<OscarL>
those message edits on Matrix look like spam here on IRC :-/
<muhamed_emad[m]>
<OscarL> "those message edits on Matrix..." <- my bad, I just thought my message wasn't clear enough.
coolcoder613_32 has quit [Quit: Vision[]: i've been blurred!]
wintp has quit [Ping timeout: 480 seconds]
<PulkoMandy>
it's hard to say if the change is correct with just one line of code. Can you share a link to the complete code you are working with?
wintp has joined #haiku
<CalistoMathias>
Btw what exactly does the BSpaceLayoutItem do?
<CalistoMathias>
like in the ticket for the media player settings misalignment issue ... its being caused (i think) because of the way the code is written using a grid and an element which extends to maximum width
<PulkoMandy>
I don't remember, does it just add some empty space?
<CalistoMathias>
i was thinking maybe I could replace that element with something empty while setting a maximum size to it ... would this be a good approach @PulkoMandy?
<CalistoMathias>
yah even I was thinking that it just adds some empty space
<CalistoMathias>
and the BSpaceLayoutItem has a maxSize setting as well :D
<PulkoMandy>
I don't know, I would experiment with the code and try various options until I find something that works well
<CalistoMathias>
yahhh
<CalistoMathias>
im just waiting for the source code to get cloned
<CalistoMathias>
I don't know why its taking so long :sob
<CalistoMathias>
Btw @PulkoMandy, in order to eventually start working on the Query Tracker Window, what all would I need to specifically learn
<CalistoMathias>
or get good at to be able to meaningfully contribute into that?
wintp has quit [Ping timeout: 480 seconds]
<PulkoMandy>
I think it's mostly layout of the window, but you probably want to play a bit with the existing query system to understand what it can do
<PulkoMandy>
I think this is documented in the user guide
nephele has joined #haiku
wintp has joined #haiku
* nephele
bangs vision for loosing connection and pretending to still send messages
CalistoMathias has quit [Read error: Connection reset by peer]
<OscarL>
nephele: experienced that recently. Then got a bunch of previous messages comming in at once. :-/
<OscarL>
nephele: I was reading the logs, not sure if you found out already. Just in case: "build/jam/packages/Haiku" <<< comment out "bootTarget" lines there to avoid needing buildtools for "jam haiku.hpkg"
wintp has quit [Ping timeout: 480 seconds]
jmairboeck has joined #haiku
tuaris has joined #haiku
Slor has joined #haiku
Calisto has quit [Quit: Quit]
Calisto has joined #haiku
<nephele>
OscarL: thanks, waddlesplash told me. I have a sticky on my desktop now XD
<OscarL>
:-) I should probably also add it to my "how the hell I do X.txt"
<Calisto>
So PulkoMandy it will be mostly the same LayoutAPI and a bit more stuff?
* OscarL
discovers that B_OPTION+Up/Down arrows keys is already used by something that "steals" those from Terminal :-(
wintp has joined #haiku
<nephele>
sorry for closing the ticket you were working on /me hides
<PulkoMandy>
Calisto: setting up the window to look like in the mockups will be mostly that, then I think the idea is that there are various buttons that generate or store various kind of filesystem queries
<PulkoMandy>
so a bit of file read/write to save settings, and then probably the most interesting part will be code to generate and execute the filesystem queries. But let's go one step at a time and let you figure out the user interface parts first
<Calisto>
Yah :sob
<Calisto>
Ill try playing around with that spaceItem
<Calisto>
My network is pretty slow right now so it cancelled the clone of the main repo
<Calisto>
So I'll probably run the clone again
<Calisto>
When I have a stable internet connection
<nephele>
why do you keep writing :sob? i'm somehow interpreting this as sadness but the internet sais it means son of a <> which i don't think you mean? :)
<Calisto>
No no xD I meant the crying emoji.. i think the app I'm using on my phone converts it to :sob
<Calisto>
I should stop with that emoji but I definitely didn't mean the latter
<nephele>
why? irc supports utf-8
<Calisto>
I have no idea... Maybe it's some app issue
<Calisto>
Lemme try reloading it
<Calisto>
It's an IRC app on my android phone so idk how well it works
<Calisto>
Just gimme a min
Atomozero has joined #haiku
Calisto has quit [Quit: Quit]
Calisto has joined #haiku
<Calisto>
Yah so i was typing this 😭
<Calisto>
Wait now it sends it 😅 what even
<nephele>
oh i deleted noto emoji from unpackaged.
<nephele>
Google doesn't let me download it
<nephele>
because my browser is unsupported
<Calisto>
Ohhh okay
<Calisto>
I think I'm going to go doze off in a while... LayoutAPI has messed with my mind enough for today xD
<nephele>
wait i packaged it, i can just install it
Atomozero has quit []
<Calisto>
I need to somehow find a fix for that issue tomorrow but am still kind of clueless how to fix it but oh well.... Atleast I can read the code now 😅 and understand what it's doing
<Calisto>
Baby steps i guess xD
<Calisto>
It's 2 AM here so anyways imma head out now... Ill be back online tomorrow most likely ... Thanks for all the help today you guys 🙂
<nephele>
Have a good one
<Calisto>
You too :)
Atomozero has joined #haiku
<OscarL>
now... how difficult can it be make SHIFT+home/end do text selection on Terminal?
<coolcoder613_32>
Did you see my recovery problem from yesterday?
wintp has joined #haiku
<OscarL>
read something about you borking your install while trying to resize partitions.
rexbinary has joined #haiku
<OscarL>
those things *never* happened to me, no no, no sir! :-P
v_harkonnen has quit [Ping timeout: 480 seconds]
<coolcoder613_32>
I borked Haiku while resizing linux partitions
<OscarL>
did you managed to solve it? or had to reinstall?
<coolcoder613_32>
How can i restore the superblock?
<coolcoder613_32>
because all the stuff is still there
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<OscarL>
no idea, sorry. I had a very, very hard time once, due to windows deciding: "can't be anything important on these non-windows partitions".
<OscarL>
I kinda knew where in the disk my Haiku install was (containing most of my old code)... so I just dd that thing to a file on a different disk.
<augiedoggie>
iirc, there is a recover tool in the repo that isn't included which can repair superblocks
<OscarL>
Over the years, tried many, many times to mount that into Haiku (using different offsets, etc)... until it worked.