Opened 17 years ago
Last modified 3 months ago
#1576 assigned bug
Some headers should be rewritten — at Version 42
Reported by: | korli | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | R1 |
Component: | - General | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Here is a list in headers/os. They should be reported in headers/build/.
headers/os/drivers/ISA.h headers/os/drivers/PCI.h
Change History (43)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|
comment:2 by , 17 years ago
Owner: | removed |
---|---|
Priority: | normal → high |
comment:3 by , 17 years ago
I rewrote DirectWindow.h. Should we keep track of the headers which are already rewritten in some way ?
comment:4 by , 17 years ago
Yeah, just add a "Done" section in the description and move the header from the current list to this section. It should be good enough :) Thanks for looking into this.
comment:5 by , 17 years ago
Description: | modified (diff) |
---|
follow-up: 7 comment:6 by , 17 years ago
By the way, do we really need all the headers reported in headers/build ? At least, I guess we don't need the whole interface kit.
comment:7 by , 17 years ago
Replying to jackburton:
By the way, do we really need all the headers reported in headers/build ? At least, I guess we don't need the whole interface kit.
Nope, feel free to remove whatever is not needed.
comment:8 by , 17 years ago
Description: | modified (diff) |
---|
Is BMultiChannelControl used anywhere ? To me it looks like an older version of BChannelControl/BChannelSlider interface. We might decide to just drop it and stick with the latter.
comment:9 by , 17 years ago
Description: | modified (diff) |
---|
comment:11 by , 17 years ago
Description: | modified (diff) |
---|
TextView.h was rewritten in hrev22688 by Vasilis Kaoutsis.
comment:12 by , 17 years ago
Description: | modified (diff) |
---|
comment:14 by , 15 years ago
Description: | modified (diff) |
---|
These headers have been rewritten: headers/os/add-ons/input_server/InputServerDevice.h headers/os/interface/ChannelControl.h headers/os/media/BufferGroup.h headers/os/media/MediaFormats.h headers/os/media/Sound.h
comment:15 by , 15 years ago
Description: | modified (diff) |
---|
More headers done: headers/os/interface/MultiChannelControl.h, headers/os/interface/ChannelSlider.h, headers/os/app/PropertyInfo.h, headers/os/media/Buffer.h, headers/os/media/BufferConsumer.h, headers/os/media/TimeSource.h
comment:16 by , 15 years ago
Description: | modified (diff) |
---|
comment:17 by , 15 years ago
Description: | modified (diff) |
---|
comment:18 by , 15 years ago
Description: | modified (diff) |
---|
comment:19 by , 15 years ago
Description: | modified (diff) |
---|
comment:20 by , 15 years ago
Description: | modified (diff) |
---|
comment:21 by , 15 years ago
Description: | modified (diff) |
---|
comment:23 by , 15 years ago
Description: | modified (diff) |
---|
Going after more of the MediaKit headers from top to bottom...
comment:24 by , 15 years ago
Description: | modified (diff) |
---|
comment:25 by , 15 years ago
Description: | modified (diff) |
---|
comment:26 by , 15 years ago
Description: | modified (diff) |
---|
Last of the MediaKit headers rewritten. I am going to let it rest for a while. Help greatly appreciated, it's not rocket since.
comment:28 by , 15 years ago
Description: | modified (diff) |
---|
comment:29 by , 15 years ago
Do we really need to keep NetPositive.h ? I don't think we implement this functionality anywhere.
comment:30 by , 15 years ago
Description: | modified (diff) |
---|
comment:31 by , 15 years ago
I guess mmu_man wouldn't like if he couldn't build BeHappy anymore. But I wouldn't mind to remove it, and have this (rewritten) header as part of NetSurf instead (since it seems to adhere to this interface, AFAIK).
Embedding HTML in applications won't work via replicants in the future, but a BHTMLView, anyway.
comment:33 by , 15 years ago
Description: | modified (diff) |
---|
Rewrote USB_rle.h, USB_spec.h, and midi_driver.h in hrev32901. I won't have the time to rewrite any other headers before the alpha release.
comment:34 by , 15 years ago
Description: | modified (diff) |
---|
comment:35 by , 15 years ago
Cc: | added |
---|
I've attached a patch for this ticket. I'm still in the process of getting Haiku built so I haven't been able to test it yet. I doubt my changes were substantial enough to cause problems.
comment:36 by , 15 years ago
Hi jarz, thanks for the patch. I've skimmed over it and spotted you changed some "ulong" defines to "uint64". But ulong is equivalent to uint32, so these changes definitely break things.
comment:37 by , 15 years ago
Thanks for the feedback stippi. I've been working on a project where ulong == uint64; I suppose I was on autopilot when I made those changes. I also used checkstyle this time and corrected the style errors it noted.
This patch successfully built against hrev35971.
comment:38 by , 14 years ago
patch: | 0 → 1 |
---|
comment:40 by , 13 years ago
Applied in hrev42958, sorry for the long delay! I've put the "#idfef cplusplus"s back in. The PCI.h patch needed to be applied back on top, which I've done by creating a patch from the current version of PCI.h to the revision that the patch was based on (ahm, the other way around) and applying the resulting patch on top of the file after applying the patch from this ticket to the old version. Hopyfully no screw ups.
comment:41 by , 13 years ago
... and reverted again for PCI.h and ISA.h which can't have been tested. The change of the types causes compiler errors in other Haiku modules, because signaturs of functions don't match anymore.
comment:42 by , 13 years ago
Description: | modified (diff) |
---|
I just rewrote TrackerAddOn.h and kernel/image.h. net_settings.h can probably be removed, as we don't support that API anymore. When we want to distribute headers as well (ie. a developer environment for Haiku) we should have replaced all Be headers with our own.