Compare commits

...

658 Commits

Author SHA1 Message Date
Pascal Abresch f3de733176 Interface Kit: add default dark appearence color constants
The dark color constants are needed primarily for webkit.

Change-Id: I8added6ada702eb09e95f5f2d6e34b748067c6bc
2022-03-19 08:58:43 +01:00
Augustin Cavalier d5ff3cd050 kernel/system_info: Address review comments.
* Combine "i" and "firstCPU" iteration variables.
 * Use better variable names.

Change-Id: Ifc6fcaea6519dc4a791600f4a8bcdd38f02434f3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5111
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2022-03-18 17:02:30 +00:00
Jérôme Duval c0ab9f51b2 intel_extreme: handle generic DTD block found in the VBT
Change-Id: Id27180b3a33778d4da66ab45b330839ae90c6382
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5110
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-03-17 07:24:11 +00:00
Jérôme Duval d5137e7776 intel_extreme: find VBT in OpRegion version 2.0 and from 2.1
we check the OpRegion version and use the rvda pointer when available.
from 2.1 the pointer is relative.

Change-Id: I64d8aea65368aa3c5597f63a2b96b6a430e04315
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5109
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-17 07:24:11 +00:00
Alexander von Gluck IV 8fed6717a7 mkdos: Drop from image. Use mkfs -t fat
Change-Id: If79f67126e23bea6c8dbb348f075832cd0bf8360
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5107
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-16 01:00:39 +00:00
Alexander von Gluck IV d188fff30b kernel/fs/fat: Fix volume label of newly created filesystems
* solves #17659
* We assigned the volume label to the root, but not the boot
  sector (partition boot sector, not MBR)

Change-Id: I9c53204c18709c2d225cc8ea338290aa89d42083
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5106
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-16 00:48:49 +00:00
Andrew Lindesay f67e053883 HaikuDepot: Size Package Files
Obtain the size of local package files.

Fixes #17445

Change-Id: Ica15d3f7c1e80bcf9b3b23d6af851cc33b5b6253
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5016
Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>
2022-03-16 00:31:52 +00:00
Adrien Destugues 2d80f9e236 EFI: add support for dw-apb-uart used on Allwinner A10 SoC
Yet another 16550 clone under a different name. Why does device-tree
have a "compatible" setting if everyone puts a different name for the
same thing?

Change-Id: Ia889a527a36739df747ba48d4606c09764703607
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5103
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-15 18:26:18 +00:00
Adrien Destugues ef41059432 EFI: get address-cells and size-cells from the device tree
They were hardcoded to 2, which is not correct on all devices. As a
result, getting addresses and sizes on pure 32bit devices would fail.

Change-Id: Icf542c9e8d6b7136219014fe08dd601387de4762
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5102
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-15 18:26:18 +00:00
Jérôme Duval f37f79066c intel_extreme: add IDs for Jasper Lake
tested with Acer Swift SF114-34
2022-03-15 16:51:13 +01:00
Adrien Destugues 7b7cc2944b Allwinner A10 docs: fix broken link
Change-Id: I40d3bebd2f70def0a4074f2bec74c574f44d46cd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5101
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-03-14 21:35:41 +00:00
Jérôme Duval 39dae8ee4e radeon_hd: handle 64-bit PCI BARs 2022-03-14 16:36:23 +01:00
Jérôme Duval 7a5f5dc504 intel_extreme: handle 64-bit PCI BARs 2022-03-14 16:19:51 +01:00
Jérôme Duval d9df712ebc intel_gart: handle 64-bit PCI BARs 2022-03-14 16:19:51 +01:00
Rudolf Cornelissen eb2b376271 various fgx drivers: fix cloning accelerants, allow for modelist cloning. 2022-03-13 00:18:09 +00:00
Augustin Cavalier 77034a15f8 kernel/vm: Let _user_set_memory_protection change area->protection if possible.
If mprotect() is being run over an entire area, and the area does
not have per-page protections, then we can just invoke set_area_protection
instead of allocating a protections array.

This is a major efficiency increase, as every page fault would otherwise
have to use the protections array if it was allocated.

Testing with QtWebEngine shows this new path being hit relatively often
(multiple hundred times in loading a single webpage).

Change-Id: I60258d56f681060861602922f3fbdbce2fd380d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5097
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-03-12 17:12:49 +00:00
Augustin Cavalier a09dd6bb6c kernel/vm: Cleanups and minor fixes to get_area_page_protection.
* We should not assume all non-kernel areas have KERNEL_READ_AREA
   permission, but follow the other permission flags directly.
   This way the kernel will be blocked from accessing guard pages, too.

 * Compute kernelProtection only once, and either return it directly
   or return it OR'd with the user protections.

Change-Id: Id6daa1cd15eb3102e23f95c08672ad97344e0722
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5096
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-12 17:12:49 +00:00
Augustin Cavalier 4c51faeb59 kernel/vm: Use get_area_page_protection in all cases of _user_get_memory_properties.
It already checks for area->page_protections == NULL and returns
area->protection appropriately if so, we do not need to test specifically
for that here.

No functional change intended.
2022-03-11 14:18:04 -05:00
Augustin Cavalier 5c69be739e kernel/vm: De-wrap line for clarity.
No functional change. Now it looks the same as the surrounding checks.
2022-03-11 14:16:59 -05:00
Augustin Cavalier 63664eaa21 kernel/vm: Do not assume "no user protection" means "kernel area".
It's entirely possible that we have a user area with a page that
has protections of 0 (e.g. a guard page). In that case we should
print the standard read/write fault message instead of "kernel"
fault messages.

This should not be a major behavioral change, only the syslog
and tracing entries should be affected; such memory accesses
should be caught by the read/write permissions checks immediately
following.
2022-03-11 14:15:56 -05:00
Augustin Cavalier 3a81e9446d kernel/vm: Check the area's cache_type, not the cache's, in cut_area.
It seems this is the type of the innermost source cache, not the
topmost cache (which well may be "RAM" if this is an anonymous cache
on top of a Vnode cache.)

Originally VMArea::cache_type was introduced 15 years ago
(commit 0c12332715, 2007)
merely to mirror the underlying cache's type. Somewhere along the way,
it acquired different values. As the VM has changed a lot since then,
perhaps its overall purpose should be re-evaluated?

Fixes #17556.
2022-03-10 17:40:15 -05:00
Augustin Cavalier 23840276a9 kernel/system_info: Rename variable based on axeld's review. 2022-03-10 16:06:11 -05:00
Augustin Cavalier 488f8888a2 network stack: Fix deadlock in get_interface functions.
If these methods are called while the interface in question
is receiving data via a receive thread, we can hit a deadlock
where a receive thread is holding the receive lock and then
tries to call get_interface_address_for_link (due, e.g., to ipv4
checking is_local_link_address), which tries to acquire the interfaces
lock, while at the same time we are trying to acquire the receive lock
due to CreateDomainDatalinkIfNeeded invoking a module's datalink_init
which calls register_device_handler, so we deadlock. (Whew!)

As far as I can tell, we do not need to set Busy() here despite unlocking
the interfaces lock, as the Interface acquires its own lock in
CreateDomainDatalinkIfNeeded.

Observed in VMware when the DHCP client spins for a long time,
and the deadlock occurs upon opening Network preferences.
2022-03-10 14:27:40 -05:00
Augustin Cavalier 2828ed2fa1 network stack: Add missing ASSERT_LOCKED_RECURSIVE. 2022-03-10 14:22:46 -05:00
Augustin Cavalier b6bfd9b749 kernel/elf: Use Deleters and get rid of gotos in elf_load_user_image.
Briefly tested: system boots and applications launch as before.
2022-03-10 13:46:35 -05:00
Augustin Cavalier 64a051399f kernel/system_info: Avoid unnecessary usage of set_ac.
Instead add a second level to the loop and a small temporary array.
Makes the code slightly simpler (and safer, as there is no risk
of races now.)

Also add a missing "firstCPU +" in the current_frequency calculation.
It seems that has been broken since the frequency value was introduced...
2022-03-10 12:18:43 -05:00
Augustin Cavalier 4027df884e kernel/vfs: Fix mismatched frees of vnodes.
Regression from yesterday's commit. Fixes #17642.
Hopefully this is all of them.
2022-03-10 09:53:23 -05:00
Augustin Cavalier 585ce471d1 kernel/vfs: Create an object_cache for vnodes.
In addition to being slightly more efficient, this also allows one
to see precisely how many vnodes are currently "alive" across all
mounts via the "slabs" KDL command.
2022-03-09 19:02:31 -05:00
Augustin Cavalier bb09a3ed07 kernel/condition_variable: Remove a confusing requirement for published variables.
Part of the point of published variables is to make them "shareable",
and not require external synchronization. Requiring the callers
to ensure unpublishing does not occur is thus unreasonable, as e.g.
a variable could be unpublished immediately after being notified.

That is the case for some usages of these variables in the FreeBSD
compatibility layer, which under heavy usage, can and did trigger
use-after-unpublishes and then KDLs, at least in local testing.

Instead, only unlock the hash after we have locked the variable.
This is already done in some other functions, so it's safe to do
it here, too. This way, the variable won't be unpublished
while Notify() is running.
2022-03-09 18:55:55 -05:00
Augustin Cavalier d38d90de25 kernel/vm: Notify the low_resource manager on low_resource address space.
We cannot wait here, but now that the low_resource manager actually
does something with the information it is provided, we can invoke it.
2022-03-09 18:17:35 -05:00
Augustin Cavalier 42ed7815ff kernel/low_resource_manager: Actually set the low-resource state based on parameters.
This resolves a TODO, and allows B_KERNEL_RESOURCE_ADDRESS_SPACE
to be a bit more useful, as fragmentation will now turn in
to a low-resource notification.
2022-03-09 18:14:47 -05:00
Augustin Cavalier 3d01655a91 kernel/int: Remove now-unneded ifdef __riscv.
Following the rework to permit arch_int_assign_cpu to change what
CPU an interrupt is assigned to, this ifdef is no longer needed.
2022-03-09 18:09:20 -05:00
Augustin Cavalier c3c7a44261 kernel/slab: Make block_alloc and block_free static.
They are not used outside this file.
2022-03-09 18:08:42 -05:00
Augustin Cavalier 1b333e9176 freebsd_network: Use MTX_SPIN for fast taskqueues instead of a direct spinlock. 2022-03-09 17:26:23 -05:00
Augustin Cavalier 385fce1cde freebsd_network: Properly implement callout_drain().
Also cleanup code a bit.

May help with #17634.
2022-03-09 17:10:55 -05:00
Augustin Cavalier 49fd143d15 freebsd_network: Print the taskqueue name in the timeout KASSERT.
Should help with diagnosing #17634.
2022-03-09 17:10:15 -05:00
Augustin Cavalier 45f4882a72 libroot: Allow posix_spawn to use load_image in more cases.
If a spawnattr and file_actions are specified but empty, that
can be treated the same as if they were passed as NULL.
2022-03-09 16:20:42 -05:00
Augustin Cavalier 2f26390421 libroot: Remove another unused glibc header. 2022-03-09 16:02:44 -05:00
Augustin Cavalier 3a76add7d3 libroot: Replace a64l/l64a with musl equivalents. 2022-03-09 15:50:30 -05:00
Augustin Cavalier 92ca4f66a7 libroot: Remove duplicate obstack.h and obprintf.
We never included obprintf in the build, and the real obstack.h
exists in the "extensions" folder. Unfortunately, it seems the
BeOS R5 libroot had an obstack.h in the public POSIX headers
directory and exported the functions, so we cannot remove it
completely just yet.
2022-03-09 15:29:12 -05:00
X512 b19f5c839b kernel/x86: add ability to set GS segment base from userland
Needed for Wine.

Co-authored-by: Jérôme Duval <jerome.duval@gmail.com>

Change-Id: I13f6a5802fce04fd2ebb4cc01ecd2f12c90830db
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4839
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-09 18:28:00 +00:00
Alexander von Gluck IV 397102c17d boot/riscv64: Fix -znotext invocation to work under ld and lld
Change-Id: If47b0aeeda49661e466c66cabd2ac9a83f16aeef
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4987
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-09 13:47:03 +00:00
Alexander von Gluck IV e9541a68ed build/riscv64: Disable relaxation linker optimization under clang/lld
* Fixes errors compiling under clang around 'R_RISCV_ALIGN
  requires unimplemented linker relaxation'
* Same fix FreeBSD applied https://reviews.freebsd.org/D25210

Change-Id: I680cac5e3e73d3ebb84aa0741bcee61530405db0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4986
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-09 13:45:04 +00:00
Jérôme Duval 86e5dd70f6 glibc: add missing prototypes in wchar.h
fixes #17636

Change-Id: Iab9db947abf9b13d840fb94d2095f1c42f1c4051
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5077
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-03-09 08:56:41 +00:00
Humdinger 1e174254d6 Media replicant: fix menu label "Sounds preferences"
Change-Id: I561393f3d8663e650a27380eb45bcf4412af87a9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5076
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-03-08 07:08:22 +00:00
Jérôme Duval 62dbe4d6c9 intel_extreme: map with kernel permissions only. 2022-03-07 12:03:10 +01:00
Rudolf Cornelissen c9e1571cc3 intel_extreme: added Intel ACPI OpRegion basic support for fetch of native panel modeline. 2022-03-06 23:47:19 +01:00
Augustin Cavalier d497bf51a6 kernel/wait_for_objects: Fix copy/paste error in poll().
Seems none of the applications I tested yesterday actually used poll(),
because it was completely broken by this.

The previous code assigned this variable inside a malloc() call, though,
which wasn't all that obvious either.
2022-03-05 11:16:14 -05:00
Augustin Cavalier f666c0873e kernel/wait_for_objects: Use BStackOrHeapArray for userland data.
Especially in select(), this cuts overhead significantly,
as we now only invoke malloc() once, and for small select()s
we never have to.
2022-03-04 16:56:46 -05:00
Augustin Cavalier 856721d9fe kernel/vfs: Use correct select pointer type in allocation of IO context.
All pointers are the same size of course, so this is not a functional change.
2022-03-04 16:15:40 -05:00
Augustin Cavalier ce172b8e10 freebsd_network: Check for errors in usbd_transfer_submit.
This way, transfers that fail to queue will have their callbacks
actually invoked.

Fixes hangs when trying to disable unplugged USB WiFi devices.
2022-03-04 16:04:53 -05:00
Dale Cieslak 2398586d63 Pairs: reset IsFirstClick to true for New game
Reset the value of IsFirstClick to true whenever a new game is
started. Without this fix the board gets confused if there is
a card flipped when a game is restarted.

I can't reproduce any of the other oddities in the ticket but
this fixes the egregious repro case mentioned.

Fixes #6932

Change-Id: Ie5cedd7fc2ca411db722d3c24f68fe9aa48f7b5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5038
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:42:05 +00:00
Adrien Destugues 015b40866c vesa: live mode patching, nvidia version.
Some improvements to allow setting 8, 15, 16 and 32bit modes, and detect
the correct mode number after patching the BIOS automatically, instead
of hardcoding it.

Also move the patching code to a separate file.

Fixes #10570.

Change-Id: I920f448b59ad7373cb8595d92ce3fa52324be67e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4629
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:39:02 +00:00
Adrien Destugues 9515cd8c6f vesa: implement live patching for ATI/AMD cards
This uses atombios headers to find where in the BIOS the video mode
tables is located. Then, we can replace entries in the table (in a RAM
copy of the BIOS, of course) and inject any video mode we need. To make
the table easy to find, the Atombios headers from the radeon_hd are
reused, but no atombios code execution takes place here.

Change-Id: If1981b1574822d4ce1e072dd6437a727192ce7cd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4628
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:39:02 +00:00
Adrien Destugues 6a175a5ddc vesa: report BIOS manufacturer (visible in screen preferences)
Get the OEM string from the VESA info block (and also get the memory
size from there while we are at it). If the string is empty, use the
BIOS type (identified in other ways) to still report something.

Change-Id: I8cbd75d19f624a43db05e82d1e1b2a536cc418b6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4625
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:39:02 +00:00
Adrien Destugues 1005a27603 vesa: live BIOS patching for Intel video devices
The VESA standard does not define any way for software to set a custom
video mode, which means normally we would be constrained to whichever
modes the video card manufacturer decided to provide. However, since we
run the BIOS in an emulated environment, it is possible (and even quite
easy) to patch it and inject any video mode we want, provided we know
the format to use and where to put the info in.

This approach was used in the NewOS VESA driver, as well as in
915resolution (a tool that predates the availability of native drivers
for Linux for Intel videocards). Later on it was also used in Chameleon
and Clover, bootloaders that are used for hackintoshes (running MacOS on
unsupported hardware).

This commit implements full support for Intel cards only, AMD and NVidia
will be added later (but there is preliminary code to detect them)

Change-Id: I2c528ba18b3863f486da694860a10761efcbfb3f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4624
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:39:02 +00:00
David Karoly 6804f6c764 kernel/arm: implement entering userspace
Change-Id: Icf3945db979a8f4444856fc7157649f48b297c29
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5037
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-03-02 22:38:25 +00:00
Augustin Cavalier 6acf0b3e21 freebsd_wlan: Reduce -O0 to ieee80211_scan_sw.o.
This is the only file that seems to be affected by whatever the problem is.

Part of #17458.
2022-03-02 16:28:59 -05:00
Augustin Cavalier 84f45724fc kernel/Jamfile: Remove invalid character. 2022-03-02 15:05:31 -05:00
David Karoly 289b735673 arm: fallback to icu-57.2 for haikuportscross
Change-Id: Iad87ab9675314d52cf1748afb1bd9017ec911178
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5036
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-03-02 19:28:50 +00:00
Adrien Destugues 455468cbfd sdhci_pci: remove (incomplete) use of MSI
MSI was never implemented in this driver and only used for a log during
initialization. Remove it for now.

This makes it easier to use the driver on non-x86 systems where there is
no MSI.

Change-Id: I39ccbb82b78ea98c0d045ef07ee9bb28c775e292
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4847
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-03-02 09:13:33 +00:00
David Karoly fdb459132e boot/efi/x86: implement SMP detection and bootup
* move common SMP initialization code to x86/arch_smp.cpp

* factor out arch-specific SMP initialization to
  arch_smp_32.cpp resp arch_smp_64.cpp

* implement smp_trampoline for x86 32-bit EFI loader

* rename SMP trampoline for x86_64 to long_smp_trampoline

* add new argument virtKernelArgs to arch_smp_boot_other_cpus
  as the kernel args are not identity mapped on 32-bit architectures

Change-Id: I30d0bb1fa9bfb08f6784a2af34eb83d6b64afa57
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4869
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-03-01 17:39:19 +00:00
Rudolf Cornelissen 456e6f33dd intel_extreme: added more pipeC support, fixes for eDP on DDI systems 2022-02-27 22:25:04 +01:00
Zakero 11dc1393cf Minor Terminal fixes
In the Terminal settings window, the pop-up help text for
"Tab title:" had two entries for "%% - The character '%'.".
Removed one of the entries.

Fixed the spelling of some constants: kTooTip* vs kToolTip*

Changing the window title and tab title directly will now
show the same tool-tips as the Terminal settings window.

Change-Id: Ic36cc1f8af0305b757105a229203115efee870c8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4989
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Máximo Castañeda <antiswen@yahoo.es>
2022-02-27 19:10:39 +00:00
Humdinger 7753e163c9 Mixer: Remove option to refuse format changes from audio mixer GUI
The options "Refuse in/output format changes" were meant to prevent
format changes of connections on the fly, without tearing down and
establishing a new connection.
The mixer does not support such format changes for input.

With this patch input format changes are refused - the former
default setting.
Output format changes are at least mostly implemented, so we are
allowing format changes here.

Both options get removed from the Audio mixer setup panel of the
Media preferences. The code those settings themselves is kept.

Thanks Máximo Castañeda for the investigation, see
https://www.freelists.org/post/haiku-development/Explain-the-Audio-Mixer-Setup-options-of-Media-preferences,26

Change-Id: Idb2d0674a4701014249bc5252a7e4ccedc4f532f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4934
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-27 06:51:38 +00:00
David Karoly 4c6e7a4bca kernel/arm: implement prefetch abort handler
Change-Id: I39c330a44ad36ede41c7727017dd733d07288be9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4983
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-26 22:08:57 +00:00
David Karoly 883858e60b implement TLS for arm
Use the User Read-only Thread ID Register aka TPIDRURO to store
TLS pointer.

The User Read-only Thread ID Register is read-only in User mode,
and read/write in privileged modes.

see: ARMv7 Architecture Reference Manual,
section B3.12.46 CP15 c13 Software Thread ID registers

Change-Id: I7bff2fd66f41d7bf1a8a247151bcd02b32733c1b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4994
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-26 11:41:40 +00:00
Autocomitter 8a2698fe28 Update translations from Pootle 2022-02-26 08:07:32 +00:00
Augustin Cavalier 0463bae558 realtekwifi/rtwn: Synchronize with FreeBSD trunk as of today.
A few changes ommitted (e.g. NET_EPOCH) as they are not needed.
Adds support for a variety of USB devices and one PCI device.
2022-02-25 15:37:50 -05:00
Augustin Cavalier 4e02cb0d87 freebsd_network: Add stub epoch.h.
We don't have a need for these APIs, so we can leave them as dummies.
2022-02-25 15:36:56 -05:00
Augustin Cavalier 9467237d25 freebsd_network: Update usbdevs. 2022-02-25 15:36:09 -05:00
David Karoly 1b895c8371 kernel/arm: implement syscall handler
Change-Id: I75f2fb7808f55a460835276ca66cce8a26e8403d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4980
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-25 15:35:50 +00:00
Augustin Cavalier a40b421ac7 freebsd_network: Restore include of sys/pcpu.h in sys/mutex.h.
Fixes some build failures in a few WiFi drivers.
2022-02-24 21:49:26 -05:00
Augustin Cavalier 711ff0cf42 freebsd_network: Fix undefined reference caused by incorrect includes. 2022-02-24 21:23:41 -05:00
Augustin Cavalier 05216554a4 realtekwifi: Compile with USB support and expose the necessary structures.
Tested with an 8821AU. It works, hurrah!
2022-02-24 21:15:44 -05:00
Augustin Cavalier 423ee7c669 freebsd_network: Adjust and rewrite attach code for USB support.
init_hardware now takes 2 devices arrays: one for PCI and one for USB
drivers, respectively.

The few drivers that have their own __haiku_handle_fbsd_drivers_list
are also adjusted at the same time.
2022-02-24 21:15:10 -05:00
Augustin Cavalier 2e9f01f60d freebsd_network: Introduce USB-handling code.
It is not yet wired in to the rest of the compatibilit layer;
that will happen in the next commits.

The bulk of the implementation is in usb.cpp; most of the
rest of the new files are copied from FreeBSD to varying degrees.
2022-02-24 21:12:28 -05:00
Augustin Cavalier a8523a21b5 freebsd_network: PCI handling cleanup in preparation for USB support.
Should not have any functional change.
2022-02-24 21:10:24 -05:00
Augustin Cavalier d6e2a3156a freebsd_network: Mutex handling cleanup.
* Add support for mtx_assert.
 * Move MTX_SPIN handling to dedicated functions like FreeBSD does.

Tested with ipro1000 and realtekwifi.
2022-02-24 21:07:50 -05:00
Augustin Cavalier ba641651b4 freebsd_network: Implement cv_destroy. 2022-02-24 21:06:58 -05:00
Augustin Cavalier eeec7ed477 USB: Change from an instant to an unlimited timeout in ControlPipe::SendRequest.
Otherwise we have a race (or worse): in the case where the transfer
has completed or is in the process of completion between CancelQueued
and here, the callback can still be invoked after we returned and
cause corruption.

Discovered while working on USB support in the FreeBSD compatibility
layer: a lock inversion problem meant these timeouts always occurred
but then the callback would be invoked later and corrupt stack.

With this change, such problems will instead cause deadlocks.
That's not an ideal situation to be in, but we should detect
such problems elsewhere and make them into asserts; deadlocks
are assuredly better than random memory corruption.
2022-02-24 21:06:08 -05:00
Augustin Cavalier 7c97a7846f XHCI: Handle fragmented transfers failing to submit the next fragment.
Previously they would just get "lost" and never signal completion.
(Considering how rare fragmented transfers are, this may not fix
any real problems.)
2022-02-24 21:05:54 -05:00
Augustin Cavalier 6711786ccc XHCI: Fix a TRACE statement.
Disabled by default anyway.
2022-02-24 21:05:35 -05:00
Alexander von Gluck IV f1b2d3ba95 kernel/x86: Fix and modernize tracing of timer code; no functional change
* Fixes functionality of TRACE statements on 64-bit platforms.

Change-Id: Iaba8f8b2d49ec1acda3fc2d51e24a207c5bcc97a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4992
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-24 20:37:17 +00:00
David Karoly 0fea9fec6f Update gcc_bootstrap package for ARM
Change-Id: Ica8b714252925460c612f934cc2a7300a397ec47
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4993
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-24 20:23:06 +00:00
David Karoly b22c6f6f29 kernel/arch/arm: swap TTBR on thread context switch
Change-Id: Ie85742d077866c10ba57b46848d5acaef932615e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4982
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-24 16:49:58 +00:00
David Karoly f06e0279a5 implement glue for arm
Change-Id: I2752fb8b1c8843e8344a10295caf82e9603ed5e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4973
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-24 16:39:15 +00:00
David Karoly 4ddef6e701 kernel/arm: detect read/write access in data abort handler
Use Data Fault Status Register's bit 11 to initialize isWrite.

see: ARMv7 Architecture Reference Manual,section B3.9.5
Distinguishing read and write accesses on Data Abort exceptions

Change-Id: I7da6702fc0e9579e5cb09cba3c5c89f004ec268a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4972
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-23 22:42:02 +00:00
David Karoly 24b174f4f9 runtimer_loader/arm: implement relocations
Change-Id: Ibda978e37d6dbdaf33ac054adbbda70768fe0d97
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4975
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-23 22:41:26 +00:00
David Karoly f98f9bccb8 libroot/arm: implement syscalls
Change-Id: Id9b37d29b802b7f469fb109054ec6446f93511b5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4979
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-23 22:40:31 +00:00
Alexander von Gluck IV 526669de6f system/kernel: Increase MAX_PROCESS_ARGS_SIZE; fixes #17612
* Resolves an issue compiling icu70
* FreeBSD is 262,144
* Linux is 2,097,152
* Haiku was 131,072

This roughly doubles the maximum args length, and makes us
function inline with FreeBSD today.  If we're the shortest
straw, we're going to find a lot of things broken (such
as ICU 70.1) Matching FreeBSD means any limitations we see
will also be seen on FreeBSD, making fewer "Haiku issues".

Change-Id: I677c0523a2f27c9e9901fda4180445bcb6da31b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4991
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-23 17:36:54 +00:00
Zakero 4e151bc309 UserSetupEnvironment.sample: Correct comment instructions
"settings" was missing from the documented path.

Change-Id: I555322f69478e8bf92fa7524814f3236c4403bfe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4990
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-22 07:57:00 +00:00
Jérôme Duval da6065015f intel_extreme: enable power on init
could be necessary on laptop with multiple graphics cards

Change-Id: I38040a4d83be62904b0154d75890ef00b2a878b0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4978
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-02-21 07:42:57 +00:00
Máximo Castañeda 20b50a5cb4 app_server: update list of default ignorable code points
Update as per Unicode 14 (and draft 15)
Include the noncharacters. We don't really want the .notdef glyph for
them, except for U+FDD1 which we have reserved internally to force it
from webkit.

Fixes #17593

Change-Id: I5a62bf0e7753adacc81ea19b3351deb58d5c0653
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4984
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-02-20 08:36:19 +00:00
Jérôme Duval 50507c9527 PCI/x86: try ACPI Root pointer from boot loader
to find the RSDP, also try to find it in the EBDA area.
Fix trace build.

Change-Id: I94c3fbec9ea97b9187bf6b2c634298f6ae5b413c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4981
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-19 19:59:54 +00:00
David Karoly acb424c8b7 boot/arm: move system_time and spin to platform
Add fake implementation for system_time()
Implement spin() using EFI boot services

Change-Id: Ib69b851780bd03624ce4e19d725dd319f6640601
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4964
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-19 15:35:21 +00:00
Jérôme Duval b50868d0d6 hda: enable power on init
Change-Id: I96b6084a40270aa8007b916a35e54b1fc3b26b39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4977
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-19 08:19:24 +00:00
Jérôme Duval cba67843b0 pci: add set_powerstate and get_powerstate legacy hooks
Change-Id: I827112ffb1a65ada99605671b112d8fd0e6db4b5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4976
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-19 08:19:24 +00:00
Autocomitter 2d0d5cb55e Update translations from Pootle 2022-02-19 08:08:47 +00:00
Augustin Cavalier 7afe4385ee freebsd_network: Add generic machine headers.
These can be used on platforms that only support memory spaces
and have no other general restrictions. riscv is one such for now,
so this finally commits support for RISC-V in the FreeBSD compat layer.
2022-02-18 21:36:39 -05:00
Augustin Cavalier fc6ea2ef78 freebsd_network: Cleanup bustag handling.
* Add an enum with general BUS_SPACE_TAG values for use across platforms.
 * Add proper entries for generic IRQs and MSIs and make use of them.
2022-02-18 21:35:38 -05:00
Augustin Cavalier 843a8ad7a7 freebsd_network: Break bus macros out into a separate header.
Now copied directly from FreeBSD.

Also change copyright info of the main file, as the remaining parts have
almost entirely been written by me at this point.
2022-02-18 21:03:23 -05:00
Augustin Cavalier 38d00b8d33 freebsd_network: Change powerstate during busmaster if necessary.
It seems FreeBSD does the same (and drivers used to do this individually
but have not for some time.)

May help with quite a number of initialization-failed WiFi/ethernet tickets.
2022-02-18 20:29:15 -05:00
Augustin Cavalier 462fb495fa freebsd_network: Clean up and break PCI methods out of bus.cpp. 2022-02-18 20:23:36 -05:00
Augustin Cavalier ccb7655078 UDF: Reduce logging messages.
No need to print things if there is no reason to suspect the storage
is UDF and we do not have general tracing enabled.
2022-02-18 19:47:02 -05:00
Augustin Cavalier d556224730 HaikuDepot: Cleanup and release references early.
So that we do not destroy things in the wrong order and trigger
the reference-counting assertions.

Fixes #17579.
2022-02-18 18:39:32 -05:00
Augustin Cavalier 1e7094566a HaikuDepot: Fix typo. 2022-02-18 18:38:59 -05:00
Augustin Cavalier a90d5c6d48 kernel/disk_device_manager: Improve tracing code.
* Use the standard TRACE{|_ALWAYS|_ERROR} setup.

 * Put DBG(OUT... code as TRACE.

Makes syslog output from this module significantly less verbose
in default builds.
2022-02-18 17:45:18 -05:00
Augustin Cavalier 589b419c5b kernel/team: Handle setpigd() being invoked for exiting teams.
In the case the team has already been removed from its process group,
this means we are far enough into teardown that we cannot change it.
Simply check for NULL and then return an error if so.

Fixes #17448.
2022-02-18 17:39:42 -05:00
Alexander von Gluck IV 705ee4bf53 preflet/network: Convert ServiceView to BGroupView
* Mostly just to be consistent with everything else

Change-Id: I468ce0a20fb918ec6e696bbc9e961dbc4386d7ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4963
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:37:03 +00:00
Alexander von Gluck IV 31f27c4d39 boot/efi: Optionally sign our EFI bootloader
* The private keys are in possession of Haiku, Inc.

Change-Id: I3b5b004e1dce0102f8a65f6d682f7e428845efe8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4936
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:32:56 +00:00
Máximo Castañeda 9a7906eadb PatternHandler: remove unused code
hrev17117 implemented B_OP_COPY with a special treatment for text.
hrev21929 introduced the color cache to speed up that text drawing.
hrev52753 removed the special treatment of text in B_OP_COPY, but left the
color cache and the text flag behind.

Change-Id: Ib506c80a660e829132bce3ec1cb354fcfbab266c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4931
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:31:42 +00:00
Máximo Castañeda 1f357f79ca Painter: sync renderer color
SetDrawState sets the pattern directly and then calls the member
functions to update colors. As SetHighColor does not update the renderers
if color does not change, that means we lose sync in some corner cases.

Change-Id: I5f8771baa58643c559df243dcc1603983941faee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4930
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:31:42 +00:00
Dale Cieslak 5f61e00ab6 Add-Ons/Translators: Set About text for JPEG & JPEG2000 to B_PANEL_TEXT_COLOR
The body text on the About tabs for the JPEG & JPEG2000 translators are
BTextViews and so the default fg color is B_DOCUMENT_TEXT_COLOR. This
patch forces them to use B_PANEL_TEXT_COLOR to match the rest of the panel.

As a side note, trying to set the fg color in every translator via
SetHighUIColor seems to have no effect and they seem to all default to
using B_PANEL_TEXT_COLOR already (aside from the BTextViews in this
commit).

Fixes #15941

Change-Id: Ia97dcce082d7f1666c61a8d5ecefa3bcd5845b96
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4960
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:29:46 +00:00
David Karoly 38d4a2edf7 virtio: add VIRTIO_FEATURE_ANY_LAYOUT in virtio.h
Change-Id: Ib8bc3639b4330dc1fb61ddbb6a3e8237cc6814ca
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4971
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:27:47 +00:00
Jérôme Duval d96e266b70 POSIX: introduce pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
will appear in the next version: https://www.opengroup.org/austin/docs/austin_1110.pdf

Change-Id: I83ef657dce54c223e2dc0c207fce17d9238f7115
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4970
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:27:06 +00:00
Jérôme Duval e41d4bd102 POSIX: introduce pthread_mutex_clocklock
will appear in the next version: https://www.opengroup.org/austin/docs/austin_1110.pdf

Change-Id: Id4553754494d6594f159356a73534c3cc9900184
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4969
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-18 21:27:06 +00:00
Jérôme Duval ceb7b7612a POSIX: introduce pthread_cond_clockwait
will appear in the next version: https://www.opengroup.org/austin/docs/austin_1110.pdf

Change-Id: I964968b81533c43ae95380bff79c8ec423d0a665
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4967
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-18 21:27:06 +00:00
Jérôme Duval a866e2d902 POSIX: introduce sem_clockwait
will appear in the next version: https://www.opengroup.org/austin/docs/austin_1110.pdf

Change-Id: Iee3faf23647aa5244ad316fe1c3d825592483935
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4966
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-18 21:27:06 +00:00
David Karoly a21676b669 runtime_loader: adjust MAX_PAGE_SIZE for ARM
gcc generates binaries with segments aligned on 0x10000
because this is the max page size defined in bfd

This change allows runtime_loader to load ARM binaries
without complaining for unreasonable amount of space
between segments.

Change-Id: Iec345980ca7ff72786173772a6deb40f5ca0b0ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4974
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-18 21:25:54 +00:00
Augustin Cavalier 7d2a6f2d99 launch_daemon: Rework how user-session spawning functions.
* Instead of fork()ing, which leaks memory (and runs a second
   BApplication inside the Run() of the original one, which was
   the source of a TODO), use posix_spawn to start a second process
   altogether.

 * Move session initialization code to the new user_main(), invoked
   from main() if we are starting a user session.

 * Send event registration messages to the new session daemon
   in _HandleRegisterSessionDaemon, as the child no longer has access
   to the old events list from before fork()ing and must receive it.

The last of these fixes a race: previously, if an event was registered
or triggered between when the child (user) launch_daemon was fork()ed off
the parent and when it registered with the root launch_daemon, those
events were "lost" and would never be forwarded to the child.

That happened not altogether infrequently for some people (myself
included) especially in virtual machines for the "initial_volumes_mounted"
event, which was the most common remaining cause of "boot hangs on rocket"
or "boots to blue screen with only mouse cursor" problems.

So, in addition to being cleaner overall and resolving a number of TODOs,
this also fixes #17365.

Change-Id: I1ea28cba8938a38b3c27685d7f3943f596cfe7ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4968
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-18 17:29:37 +00:00
Augustin Cavalier 9392d87e6e BReferenceable: Remove unneeded linebreak from debugger message. 2022-02-16 21:06:26 -05:00
Augustin Cavalier fcd448f86b package_daemon: Do not delete roots on destruction.
Instead just release our reference to them and clear the list.
Should fix #17580.
2022-02-16 21:06:26 -05:00
Alexander von Gluck IV 9e25244c5e 3rdparty/vagrant: Add our vagrant templates
* I have to figure out how to do this every major
  release, put here to document somewhat.
* The os images are empty files for obvious reasons
* This vagrant box is used by qemu for their automated
  testing under Haiku
  https://github.com/qemu/qemu/blob/master/tests/vm/haiku.x86_64

Change-Id: I8e02104063284a96e1672051e3d504a78a64cfe3
2022-02-16 12:09:06 -06:00
Rudolf Cornelissen f01ca729e5 intel_extreme: for eDP/laptops always use the panel's fixed native modeline, panel doesn't accept otherwise. 2022-02-15 23:08:24 +00:00
Rudolf Cornelissen 440667b4c6 intel_extreme: eDP now works on Sandy/Ivy laptops: ticket #17350 i.e. 2022-02-13 23:59:38 +01:00
Adrien Destugues c8edc9b368 LaunchBox: Revert "Use Shine and Shadow color instead of tinting for Haiku"
This reverts commit d493aae3c4.

The default shine and shadow color are pure black and white. They are
not meant to be used directly, but mixed with the background color for
more subtle results.

The previous code using tint_color was also just fine.

Fixes #17577.
2022-02-13 09:41:55 +01:00
Rudolf Cornelissen cfd3bb41aa intel_extreme: log srcclk info, Sandy/Ivy eDP detect BIOS pipe setup and use that. 2022-02-12 23:29:42 +01:00
Autocomitter 9aa0aea3a8 Update translations from Pootle 2022-02-12 08:08:27 +00:00
Augustin Cavalier b4f4368b2b bus_managers/scsi: Use kernel mutex API directly and not through a wrapper.
No functional change intended.
2022-02-11 15:06:41 -05:00
Augustin Cavalier 8016cfee1a app_server: Put base class call in the switch where it belongs.
We don't need to forward handled messages.
Thanks axeld for the review.
2022-02-11 14:44:22 -05:00
Augustin Cavalier 71f4447184 kernel/cache: Set parent_data outside the if-block.
Reduces code duplication while retaining clarity.
Thanks axeld for the review.
2022-02-11 14:43:48 -05:00
Humdinger a04ae8afcf Cortex: Fix B_PRIu32 usage
Noticed because Pootle showed "Video data between line lu and lu".

Change-Id: I55eeba9d3df88debbf2121a653b8220e643d07bb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4959
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-02-11 13:43:25 +00:00
Augustin Cavalier 576440062d app_server: Scan fonts in the looper thread.
This way, the first unlucky application to request the font list
after paths change (or on first app_server startup) will not stall out
while the font list is rebuilt, at least most of the time.

Should fix #17574.
2022-02-10 16:44:27 -05:00
Augustin Cavalier bde40eceef app_server: Remove TODO comment from B_NODE_MONITOR handling.
As far as I can tell, this TODO has been resolved since 3 hours after
it was added in 2005, when the second case of B_ENTRY_REMOVED (i.e.
single-file removal instead of whole-directory removal) was implemented.
_RemoveDirectory does not appear to be fully implemented, though;
but it has its own TODO and does not need this one.
2022-02-10 16:14:25 -05:00
Augustin Cavalier ec39014cf4 app_server: Add default case for FontManager::MessageReceived. 2022-02-10 16:12:43 -05:00
Augustin Cavalier 1e926a21ef BReferenceable: Enable reference-count assertions even outside DEBUG.
Now that we are merely doing basic comparison tests and do not invoke
get_thread_info or the like, this is cheap enough that we can enable it
even when DEBUG is not enabled, and get assertions in more cases.
2022-02-10 15:17:16 -05:00
Augustin Cavalier 071d20db2b BReferenceable: Relax reference-count destruction checks.
"delete object;" is logically the same as "object->ReleaseReference();"
when there is a reference count of 1, and we need to permit that instead
of asserting on it, so the case where a referenceable object is a member
variable of a class works without asserting.

This manifested in packagefs: the Resolvable class has a linked-list with
Dependency objects (which are referenceable) in it. (Further, the stack
checks do not work quite right for kernel stacks.)

Fixes #17575.
2022-02-10 14:31:34 -05:00
Augustin Cavalier e51f545c90 kernel/team: Clear group_id when removing a team from a group.
And remove a redundant clear of the group pointer.
2022-02-09 17:38:16 -05:00
Augustin Cavalier b396a5b22e kernel/team: Clean up and reorder Team initializer.
* Put all fields in the same order they are in the header.
 * Add missing initializers for various fields to NULL or -1;
   while these should be initialized by later routines,
   for consistency's sake we should also clear them here.
2022-02-09 17:37:19 -05:00
Augustin Cavalier 9af6dc63b2 kernel: Remove malloc_referenced now that it is unused.
It was added long before we had KernelReferenceable, which should
be used instead.
2022-02-09 16:42:06 -05:00
Augustin Cavalier e372ec1e02 kernel: Use KernelReferenceable for the supplementary_groups array.
Instead of the malloc_referenced system. Makes for some cleaner code,
and the malloc_referenced system was only used here, so it can now be
dropped altogether.
2022-02-09 16:39:43 -05:00
Máximo Castañeda 72acf6a91b generate_boot_screen: fix build
Change-Id: I4ce2a45887fd2f562216aa49e1bd34269bcfdef8
2022-02-09 21:32:32 +01:00
Humdinger 7dd4703452 HaikuDepot: remove unneeded B_TRANSLATE()
Change-Id: Icfdf179817d93dd981904ad64b2efae4f0c8b9a0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4958
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-02-09 15:35:20 +00:00
Augustin Cavalier 156ef95b1e kernel/block_cache: Fix memory leak in sub-transaction handling.
This code has been broken like this since 2012, so I am skeptical
that it is the cause of the more recently observed #17463.
It is however possible that more recent changes caused things
to get noticeably worse for some reason.

This may, however, resolve some of the other KDLs, e.g. #12847.
2022-02-08 18:37:01 -05:00
Augustin Cavalier 8a2d11b7dc kernel/block_cache: Adjust logic in cache_detach_sub_transaction.
This way it should be more clear that parent_data is being modified
in tandem with original_data.

No functional change intended.
2022-02-08 18:35:03 -05:00
Augustin Cavalier e12a5fe215 kernel/slab: Change checks in FreeRawOrReturnCache to panic instead.
The function is largely useless if we cannot lock kernel space,
and the consumers may not expect it to silently "fail." Hence,
we now put the invocation of deferred_free in free_etc directly.
2022-02-08 18:33:20 -05:00
Augustin Cavalier fc38a41393 BReferenceable: Fix build when the kernel is built with DEBUG enabled. 2022-02-08 18:28:16 -05:00
John Scipione 8b25c6d727 Appearance: Store decorator filename to disk untranslated
Save ShortcutName() (i.e. filename) instead of the potentially
translated decorator Name(). If the decorator has no ref but
fInitStatus is B_OK and fPath == "Default" return Default
decorator in ShortcutName(). The Default decorator unlike other
decorators has no file on disk associated with it.

We don't need to look for ShortcutName() when iterating through
decorators anymore because we look for "Default" then file names
before we try to find by name.

Fixes #16412

Change-Id: I3109681d11931e7f55b7afaf3a65af2fb9ed5e10
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4320
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-07 21:38:44 +00:00
urnenfeld 20b3c898d8 boot/efi/arm64: Enable FP/SIMD
* Kernel code uses q0 registers belonging to the 128 bits vectorial & floating point registers
* Apply stylistic suggestion from previous review

Change-Id: I41b5a807c3867de4bb3b9450607d48098f9471ef
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4925
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-07 21:36:55 +00:00
Augustin Cavalier e88ab494a8 pkgman: Note in full-sync command summary that it may downgrade packages.
Fixes #10835.
2022-02-07 16:20:33 -05:00
Augustin Cavalier e48ac4a3de Debugger: Add missing NULL check in ReportUserInterface.
Fixes #16565.
2022-02-07 16:14:50 -05:00
Augustin Cavalier cb860bd2eb Add intel22x driver to the default images.
Fixes #17212.
2022-02-07 16:07:12 -05:00
Augustin Cavalier 1fc7d77323 XHCI: Downgrade tracing of CancelQueuedTransfers.
Now we only do it if TRACE_USB is enabled, or force-cancellation is specified.
2022-02-07 15:55:32 -05:00
Augustin Cavalier 312ea06980 XHCI: Do not print "transfer error" for COMP_STOPPED.
STOPPED errors are generated by StopEndpoint commands, which we issue,
so presumably we expect that we will get some STOPPED errors when doing
so, thus printing these is not really necessary.
2022-02-07 15:54:31 -05:00
Augustin Cavalier 125a7abe6f package_infos/webpositive: provides app:webpositive. 2022-02-07 15:11:30 -05:00
Augustin Cavalier 1267e873d3 protocols/unix: Do not re-build Referenceable.cpp.
It is now part of the general kernel exports (and is used by
packagefs, among other things.)
2022-02-07 15:08:21 -05:00
Augustin Cavalier f6b6606652 BReferenceable: Always enable DEBUG in kernel mode when PARANOID_KERNEL_FREE is enabled.
This checks the reference counts are actually 0 (or 1 and allocated
on the stack). As PARANOID_KERNEL_FREE is enabled at KDEBUG_LEVEL 2,
this will thus be enabled on nightly builds.
2022-02-07 15:07:37 -05:00
Augustin Cavalier ebf0b53a7e kernel/util/atomic: Permit atomic_pointer_get to accept const* pointers. 2022-02-07 14:35:23 -05:00
Augustin Cavalier 50157a8d17 kernel/condition_variable: Make ConditionVariableEntry::Variable non-inline.
We have to use an atomic here.
2022-02-07 14:22:39 -05:00
Augustin Cavalier c9d521ea5b kernel/condition_variable: Various cleanups.
* Adjust a comment that now goes with 3 functions and not just 1.

 * Remove spinlock switch function, this is useless as it cannot
   change interrupt states here, but we require interrupts to
   be enabled to wait on a ConditionVariable.

 * Remove WaitStatus function from ConditionVariableEntry; unused
   and would require locks anyway.

 * Implement Publish using Init.
2022-02-07 14:22:12 -05:00
Augustin Cavalier 8774bf6012 libroot: Remove linker hack to prevent weak symbols.
Now that we support them in runtime_loader.
2022-02-07 14:19:58 -05:00
Augustin Cavalier c41b379e5a runtime_loader: Support resolving weak symbols as NULL.
In the case where a weakly declared symbol has no definition,
it should just resolved to be NULL instead of failing to load at all.

GCC 11 builds of libroot.so wind up having one weak symbol
declaration that is unresolved at runtime, to __cxa_pure_virtual,
which seems to be provided by some object in libsupc++.a that ld
does not pull in automatically (and has to be forced at present.)

This change also amends symbol patcher behavior: it is now possible
for the symbol patcher to indicate symbols should be hidden by
changing the passed-in type to 0, instead. (Otherwise, weak symbols
would always get a value of NULL instead of being able to be hidden.)

Fixes #8288.

Previously-reviewed-on: https://review.haiku-os.org/c/haiku/+/4768
Change-Id: I6485c4e515cb53c6b81db971efbc10008fa6bd9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4932
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-07 19:03:25 +00:00
X512 cba95132ca libroot: add timespec_get to build
* Added in hrev55773

Change-Id: Ib57b53c76641e87c5ac0c0cde2407a7bfe45ce41
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4935
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-07 16:38:47 +00:00
Rudolf Cornelissen 74e271b2a2 intel_extreme: eDP port width register read is OK after all (SandyBridge). 2022-02-06 22:26:26 +00:00
Autocomitter a49db24180 Update translations from Pootle 2022-02-05 16:01:49 +00:00
Rudolf Cornelissen 9d361aaed2 intel_extreme: eDP port width seems fixed at 4 on SandyBridge. 2022-02-05 10:37:35 +00:00
Rudolf Cornelissen 4b5e0c3bcd intel_extreme: Sandy/IvyBridge fix 4 lanes DP detect, fully pgm eDP link 2022-02-04 19:56:27 +01:00
David Karoly a18ff64517 boot/arm: remove unused arch_mmu.h
This file is used only by the u-boot raw bootloader and
it has identical content to platform/u-boot/mmu.h.

Therefore we can use mmu.h in the u-boot loader and remove
this header.

EFI platform has its own arch_mmu.h in
headers/private/kernel/boot/platform/efi

Change-Id: Ie77774fbcf4855f9bc643176c179670f6169b3b6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4929
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-02-04 11:42:45 +00:00
Augustin Cavalier f39294c273 freebsd_iflib: Remove Haiku-specific semaphores code and use msleep instead.
Now that the interlocking issues are resolved with the previous commit,
using the main TQ_SLEEP mechanism no longer causes deadlocks and
network I/O freezes, so we can drop the custom code and use FreeBSD's
code instead.
2022-02-04 00:45:41 -05:00
Augustin Cavalier 33c03035d1 freebsd_network: Rewrite ConditionVariable-using code.
The old code was not at all correct with respect to interlocking.
The new code should be, and is also much simpler.
2022-02-04 00:45:41 -05:00
Augustin Cavalier 1960df3158 freebsd_network: Add some missing __BEGIN_DECLS/__END_DECLS. 2022-02-04 00:45:41 -05:00
Jérôme Duval 32f411b9ab hda: detect some audio devices per device ID
as it's possible they use the audio class_sub instead of hd_audio.
* also power up the audio function, this seems required on Jasper Lake.
* tested on Acer Swift 1 SF114-34.

Change-Id: I603018b1b973e7884aa99a58be1c24e568f2d5ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4928
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-02-04 05:40:11 +00:00
Augustin Cavalier a8d965a0c4 kernel/condition_variable: Borrow the scheduler lock instead of self-unblocking.
Self-unblocking is not done anywhere else in the kernel and may not be
such a bright idea, it seems.

This also allows the elimination of some atomics, and resolves a race
that otherwise would have required another wait-loop. Performance
differences seem to be within the realm of noise.

Fixes #17553.

Change-Id: Id719ba51ed3f2a15557c8d53947182a5f8879b7b
2022-02-03 17:32:22 -05:00
Autocomitter 2d6d3938e7 Update translations from Pootle 2022-02-02 22:21:48 +00:00
X512 d03e5994ee ConditionVariable: add classical wait interface with lockable
Change-Id: Id18264e786dba818138caf3908c7a89b18e2a1dd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4921
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-02 19:45:27 +00:00
X512 32fd04c959 AutoLocker: get ability to get lockable
Change-Id: Id8f554494ce83725c40ccebdf0e58e54bf1bf47c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4920
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-02 19:45:27 +00:00
X512 fce7f3a748 integrate AutoDeleter's into pointers
Change-Id: I6c3925a7aec4d0647c76c2a03aad7b08985d7166
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3490
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-02-02 19:29:52 +00:00
David Karoly 478279116b boot/efi/arch: remove comments related to ConvertPointer
Change-Id: I1c0ebe04c180f3c50ac07c7d043a33d2c4563a18
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4924
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-02-02 16:36:14 +00:00
Rudolf Cornelissen ed9bb4dc76 intel_extreme: decoupled PIPE/eDP link programming from FDI train, fixed eDP pgm error. 2022-02-01 23:48:48 +00:00
Rudolf Cornelissen 41f6b7906d intel_extreme: if no EDID found use boottime EDID if there 2022-01-31 22:05:08 +00:00
Jérôme Duval f9e868fc8f sdhci: accomodate 64-bit PCI BARs
* init works better with this. it doesn't work yet, but at least the boot
isn't completely borked.
* also fix the infinite loop in SoftwareReset() to timeout after 100ms.

Change-Id: I76dac8360eaf3575adf7d0b3bf3e2b72daeedb21
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4923
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-31 17:49:19 +00:00
waddlesplash 50ea01e93d Revert "runtime_loader: Support resolving weak symbols as NULL."
This reverts commit 74843df324.

Reason for revert: Change was not ready, see comments on #8288.

Change-Id: I82dc23ca5a86fa2906fb6eb19f9f872603618fad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4897
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-31 15:20:28 +00:00
David Karoly 4f912a8b33 enable building EFI loader for x86
Change-Id: Ic7d2c3194b8555f7b6704131f5fc2bce3b139ee4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4918
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-31 14:22:57 +00:00
Augustin Cavalier 74843df324 runtime_loader: Support resolving weak symbols as NULL.
In the case where a weakly declared symbol has no definition,
it should just resolved to be NULL instead of failing to load at all.

GCC 11 builds of libroot.so wind up having one weak symbol
declaration that is unresolved at runtime, to __cxa_pure_virtual,
which seems to be provided by some object in libsupc++.a that ld
does not pull in. We could probably force it to be, but implementing
proper weak symbol resolution seems to be the more sensible path.

Change-Id: Ifd512b73dc67581e6173b5c78ce73ac68971707a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4768
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-31 14:19:39 +00:00
David Karoly a7b50febfa kernel/x86: use proper phys_addr_t field for storing ACPI root pointer
Change-Id: I475b7b3f9bd0711ecd037043e86559ab691a82a7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4881
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-31 14:15:46 +00:00
David Karoly bfd5d56283 boot/efi/mmu: fix sign extension issues
Conversion from pointer to phys_addr_t (i.e. uint64) results
in a sign extension on x86.

Therefore we first convert to addr_t and then convert from
addr_t to phys_addr_t.

Change-Id: Id9d9db03d9940a11ea3892841c271e12fad3975a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4872
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-31 14:14:12 +00:00
Humdinger 8b35436293 Audio mixer: Remove option for linear gain sliders
* always use non-linear gain sliders (was the default setting)
* remove functions and members connected to linear gain setting
* remove "(like BeOS R5)" from "Attenuate by 3 dB" option
* add "Low/High quality" to resample algorithm option

Fixes part of #17554

Change-Id: I746da3f5bcc8f0cb017c75509565b535d5442f71
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4917
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-31 11:44:19 +00:00
Alexander von Gluck IV 4ac99e3932 system/boot: Don't borrow libroot objects
* kernel + bootloader get differing compiler flags
* Trying to reuse libroot objects makes what objects
  are being built with which flags slightly confusing.

Change-Id: Ic8ac7255db99d6825ca022afc3f4fd416c57c12d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4876
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-30 22:03:10 +00:00
Rudolf Cornelissen c749333b59 intel_extreme: added EDID use for eDP laptop panels 2022-01-30 23:35:29 +00:00
Rudolf Cornelissen d7a6d9cb6e accelerant_common: fixed typo in EDID dump 2022-01-30 23:28:41 +00:00
David Karoly 4ca2120531 boot/efi/x86: take care of PAE flags during MMU initialization
UEFI specification states that on IA-32 paging may or may not be
enabled during startup. If paging is enabled, PAE might be active.

During jump to kernel and early kernel initialiation we use paging
without PAE.

Therefore the following initialization sequence is introduced:
* disable paging
* disable PAE
* load page directory
* enable paging

Change-Id: Ife9a631b914dd5867f6673713e20e8abfce1ea44
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4919
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-30 13:39:43 +00:00
Rudolf Cornelissen ba0c9427cd intel_extreme: for Ivy/SandyBridge added eDP programming for laptops. 2022-01-30 00:21:32 +00:00
Adrien Destugues 071a83af4f fix macOS hosted build after hrev55802
The stat structure fields are not standardized, so we can't use an
hardcoded field name. The code in all other places was already adjusted
with a macro to handle the access, but hrev55802 introduced a new place
where we need to read the access and modification times. Use the macro
there as well.

Thanks to anuragpd4 for reporting the problem!
2022-01-29 15:57:56 +01:00
Autocomitter 9b199d1c7b Update translations from Pootle 2022-01-29 08:07:53 +00:00
Humdinger 7ae9eac3a9 Diskprobe: fix scrollbar insets
Fixes #17558.
Change-Id: I89863e7fcfa61292ac0ef3ccb7752e5c45519c61

Change-Id: I2e4ca735c00bb078ccf203e52e72e1c2f5481e90
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4893
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: John Scipione <jscipione@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-28 18:22:05 +00:00
Alexander von Gluck IV b0dd708eca arm64/debug_console: Add basic functionality to puts call
* Matches arm and riscv64

Change-Id: I88874df4da16f5019def0c0c79ca41f37a926c12
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4916
Reviewed-by: <karolyd577@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-28 15:35:11 +00:00
Alexander von Gluck IV 8e6c16e503 arm/debug_console: Ensure we always return before newlines
* Similar to what riscv64 does
* Solves incorrect newlines
                            in qemu serial.

Change-Id: Ib1179728529dd4bf51c8361fdb6190bd43ccb851
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4895
Reviewed-by: <karolyd577@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-28 15:35:11 +00:00
urnenfeld f9412d9f8a boot: ARM64 EFI port
* MMU mapping
* EL2 to EL1 transition (FreeBSD/Jaroslaw Pelczar)
* Initial implementation for cache cleaning and TLB invalidations (ARM)
* Processor Helper functions
* Additional Logging in boot process

Change-Id: Idcee93583418a3c3528c5d9586d3add487f9d5ca
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4888
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-28 15:33:12 +00:00
David Karoly 5e5299336b boot/efi/x86: implement MMU initialization and jump to kernel
Change-Id: Ie42c69f3851acae3a8184aa97ab2dd01c9485f46
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4850
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-28 15:31:07 +00:00
David Karoly 20c0887491 boot/efi/arm64: implement arch_convert_kernel_args()
Empty function for now as no arch-specific calls to
fix_address() needed on arm64.

Change-Id: Ifef100c132eac29a2b763e06bf1efd695b284851
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4894
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-28 15:28:03 +00:00
David Karoly 36e8ac9d41 boot/efi/x86: implement timer initialization
Change-Id: Ida16e63d2b8f87b90897892faf0e6db92b185d34
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4851
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-28 10:25:29 +00:00
David Karoly 367beefadc boot/x86: move HPET initialization to arch folder
Change-Id: Iac3f4923f132c4c3328fde5af1dad75af5b2efbd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4864
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-28 10:25:29 +00:00
David Karoly 8d743ebd60 docs/arm: remove TODO item for bootloader memory map handling
Change-Id: Iabcada696eb87500dbcdb03cf742607e0e525707
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4892
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-01-27 20:25:22 +00:00
David Karoly d283a8c58a kernel/arm: add range checking for early page tables
Change-Id: Ibbd367475482eb0cf839314014c8bf68612c5d6a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4891
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-27 16:29:48 +00:00
David Karoly 79ee00628f boot/efi/arm: don't add ranges below KERNEL_LOAD_BASE to virtual_allocated_ranges
Change-Id: I9dbb1c46bcfcdea6fe3e8287673557e54a29c008
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4889
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-27 16:28:45 +00:00
Augustin Cavalier 2472048e57 kernel/condition_variable: Add missing newline in debug print. 2022-01-27 10:18:47 -05:00
David Karoly a2d528242a boot/efi/arm: code cleanup
* Use TRACE() for logging
* Use B_PRI format strings
* Reformat local variables and function arguments to use camelCase
* Remove comment related to ConvertPointer
* Fix indentation for switch statements
* Remove variable sFirstPageTable as it's not really used

Change-Id: Iace275e5a3311f13a5018f497c3132e472a20848
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4885
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-27 14:11:27 +00:00
David Karoly f991c7ee03 boot/efi/dtb: fix signedness of dtb_get_interrupt_parent()
Change-Id: Ic3a28ff003cb82dc9166200594dbf3fc58e76b51
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4884
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-27 02:02:22 +00:00
David Karoly f06c2e7f5c docs/arm: remove TODO item for early page tables
Page directory and early page tables are allocated using
platform_allocate_region() and they don't need to be identity mapped
since commits 9103470bd and a7c69a4b1.

Change-Id: Ia7fcf1dd2fa34262e013f651139ad252a1ac9113
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4886
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-27 02:01:41 +00:00
John Scipione cd053a381f Tracker: Fix image thumbnails
hrev55756 fixed regressions but also broke thumbnails.

Tell Model to look for an thumbnail icon in the node in
FinishSettingUpType() if eligible.

Create ShouldGenerateThumbnail() convinience method in Utilities.h

Change-Id: I454156374ec539f5bb09a61f24b16ebb6a7a95a1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4887
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-26 22:19:55 +00:00
Augustin Cavalier d7f7aadf98 usb_raw: acquire_sem with B_KILL_CAN_INTERRUPT.
This way, applications blocked in usb_raw can actually be killed,
instead of "hanging" until the USB device is removed or the
transfer finishes.

Improves a number of USB tickets, but does not really "fix"
any of the underlying problems that lead to this happening.
2022-01-26 17:03:28 -05:00
Augustin Cavalier e20a08d1c2 usb_raw: Use MutexLocker and MemoryDeleter in usb_raw_ioctl.
No functional change intended.
2022-01-26 17:00:24 -05:00
Rudolf Cornelissen 022986d510 intel_extreme: sandy/ivybridge DP links to screens are now programmed to the actual mode if possible 2022-01-26 23:42:14 +00:00
Augustin Cavalier 49ddb1ffd4 kernel/condition_variable: Downgrade one of the panics into a dprintf.
On some virtualized systems, this seems to still occur,
and at this point may not be preventable.

Fixes #17455.
2022-01-26 15:45:06 -05:00
Augustin Cavalier ebd5ba380d USB Kit: Use libtextencoding to perform character set conversions.
This way USB devices with actual Unicode names will not be mangled.
Change-Id: I59b50d38776f185cbdb4df9763608341c059a163
2022-01-26 13:44:14 -05:00
Augustin Cavalier eecf3977a5 libroot_build: Implement FD writing STAT_ACCESS_TIME and STAT_MODIFICATION_TIME.
We have used and had fallback futimens() implementations in libroot_build
(and in this file even) for over a decade, but nobody seems to have noticed
this bit of missing functionality which can be implemented with them.

In fact, this is rather important bit of functionality, as "copyattr"
relies on it to preserve the mtimes of copied files; and we use
recursive copyattr many places in Haiku builds. Thus, the lack of
an implementation here was the cause of all files in built Haiku images
having timestamps of whenever the build was done, and not whenever
the file was actually modified.

This should make development on Haiku nightlies much more pleasant,
as the system headers from the haiku_devel package should no longer
have always-current timestamps with every upgrade.
2022-01-26 13:25:11 -05:00
Augustin Cavalier e673363df1 libbe_build: Initialize stat structures when writing stats.
This is the same as ee4b6bdfa1,
now applied to the libbe_build Statable implementation.
2022-01-26 13:16:33 -05:00
David Karoly 8fea4985b5 bus_managers/fdt: implement interrupt-cells handling
Change-Id: Id0ff78ce51fb64065c2a6398115e3a3dd12693da
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4658
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-26 00:06:28 +00:00
David Karoly 9a573968a2 boot/efi/arm: use insert_address_range for virtual_ranges_to_keep
Change-Id: Iaf67838e8ef3d9a9494791945bd777b92315a948
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4877
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-25 11:39:14 +00:00
Jérôme Duval 971ad09095 pch_i2c: bail out if BAR isn't configured
Change-Id: If271dc01bade8a5fcf28c7a3e734d573c0008b04
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4883
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-24 17:01:23 +00:00
Panagiotis "Ivory" Vasilopoulos 789bcfd8de Update own credits/copyrights
Change-Id: Ia28784e1c8d534df3946693c850e176c75c5d99a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4882
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-24 13:11:54 +00:00
Alexander von Gluck IV 526c9fcfb4 jam/build: Solve infinite recursion on host-only tools; fixes #17546
* We should likely check for Jamfile recursion in jam instead of
  segfaulting

Change-Id: I19ed771b0e943504e11bd6182adc81a0ea2668e8
2022-01-23 16:42:21 -06:00
David Karoly cc69b20bb1 boot/efi/arm: move arch_enter_kernel to identity mapped region
First try to allocate a page below 2GB.

If it fails, try to allocate a physical page at the address
returned by get_next_virtual_address so that we get an address
that is available in both virtual and physical space.

Finally try to allocate any available page. At this point
it's highly likely that it will be above 0x88000000 so it can be
used for trampoline code.

Change-Id: I3100a3e09efcd938bc630a52dcce74dc5f24beb5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4878
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-23 08:50:46 +00:00
David Karoly b57ffe4006 kernel/arm/paging: zero out the bottom portion of the new pgdir
Change-Id: I899f288f451dd4c413403cd0e14a855f68355050
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4866
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-23 08:50:46 +00:00
David Karoly 933430df22 boot/efi/arm: remove identity mapping for EFI code and data segments
All the regions allocated via platform_allocate_region() are mapped to a
high virtual address so there's no need to do identity mapping for them
any more.

Copy kernel_args to a region allocated via platform_allocate_region() so it
will be mapped similarly.

Identity mapping is still needed for trampoline code for jumping to the kernel

Change-Id: I844a7a789b440a38521db49adc077bb77e658ddf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4865
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-23 08:50:46 +00:00
Jérôme Duval 5f8b4d4d2e framebuffer: handle 64-bit PCI BARs
Change-Id: I634f2a75fe80da99063b98a255d14953cd1a361f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4880
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-22 20:32:10 +00:00
Jérôme Duval de65a7b6b3 Update pci.ids and usb.ids
Change-Id: I99190ec9ddda1913a8bdb104c463a3c9e9fbbe81
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4879
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-22 14:40:08 +00:00
Autocomitter 39dfe582a3 Update translations from Pootle 2022-01-22 08:07:09 +00:00
urnenfeld 54ffc00e11 checkstyle: Update 80 columns rule to 100 as per coding guidelines
Change-Id: I17d8a74ec332a0073bd9d85ce23093b285a8e2d8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4875
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-20 12:06:16 +00:00
Jérôme Duval a010d38b6e hda: remove invalid product entries for intel
A few invalid ones were introduced in 2071dc2

Change-Id: Icbe5bb4aafd9d6e03ec4175c10eccdb2e65465d7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4874
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-20 05:34:18 +00:00
Jérôme Duval a4c7f6c623 acpi_thermal: fix previous commit
sorry for the noise

Change-Id: Ic696f48b87d017492e054641c2b9c61a910fed0b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4871
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-18 08:59:39 +00:00
Lt-Henry 0fc10268e0 acpi_thermal: Fix 64-bit warnings
Change-Id: I5ee12a6d07a9ed61d0025c4e9e650da08a1326f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4870
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-18 08:52:37 +00:00
David Karoly 01cb3ed58e boot/efi: add stubs for x86
Change-Id: I8d3dfa7cc07679a8b024df24f7cddb3a5bcec02c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4747
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-17 16:04:47 +00:00
Jérôme Duval 9a7f2c2459 Terminal: add support for mouse press/release events in Extended/SGR 1006 mode
fixes #17532

Change-Id: Ic9f19ace5c728b6823caa5ce8ec35dc35d244220
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4867
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-15 14:18:41 +00:00
Autocomitter abe423c6e4 Update translations from Pootle 2022-01-15 08:07:13 +00:00
David Karoly 31f5f4d339 boot/efi/arm: remove identity mapping of EFI runtime services
EFI runtime service memory areas are remapped to a high virtual address
allocated with get_next_virtual_address() to avoid any address space
collision.

They are also added to virtual_ranges_to_keep so that the kernel knows
that these ranges should be reserved.

Change-Id: I63e1a2450fceff3b2404154907a2cf59dd1b373b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4863
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-01-13 22:43:32 +00:00
David Karoly a7c69a4b1f boot/efi/arm: remove identity mapping of initial page tables
Change-Id: I37cb756c32e05a585ff224c1e48d1a40c83e5e2e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4858
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-13 22:43:32 +00:00
David Karoly 9103470bd3 kernel/arm: don't require identity mapping of initial page tables
Remove the dependency on identity mapping for the initial page tables
used in MapEarly / _EarlyQuery.

The initial page tables have to satisfy the following conditions instead:
* the inital page tables shall be allocated in the same region as the initial page directory
* this region shall be mapped contiguously
* the page tables shall be mapped at a higher address than the page directory

Change-Id: I34854ef93826aa48f5d90582b52905e553f3d275
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4857
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-13 22:43:32 +00:00
David Karoly dc3e1761e6 docs/arm: remove TODO item for serial port mapping
UART is mapped to kernel virtual address range since commit f5f10a9ec
so it does not overlap with user address range any more.

Change-Id: If8e18904fcddcbef1ccdc91e526d0e581f61e085
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4856
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-12 12:21:11 +00:00
David Karoly 4ddb4993c8 kernel/x86: fix HPET ACPI table alignment
vendor_id shall come after the bitfields

Move hpet_address to separate struct definition so we can apply
the correct packed flags.

see also: https://wiki.osdev.org/HPET

Change-Id: Iced005846fedd4b895910e9b61137d5349db5b41
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4859
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-12 12:20:25 +00:00
Alexander von Gluck IV 901fc0c75f posix/arch/signal: Fix riscv64 arch detection
* We decided to not create our own custom define checks
  and go with the standard ones for riscv64.
* clang doesn't define __RISCV64__ either, so this moves
  the clang build of riscv64 a bit further

Change-Id: I2a6c3751168a898c1617b32f46055a9ba1609e2b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4861
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-12 12:17:15 +00:00
Mikael Konradsson d493aae3c4 DiskProbe: Use Shine and Shadow color instead of tinting for Haiku
This make it look much better on haiku with dark theme.
Looks the same on default because shine is set to white/very bright.

Change-Id: Iecab3477e1fd5a90c447bcc15a1c598450b074a9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4706
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-12 12:16:26 +00:00
Jérôme Duval 0a408dfcad radeon_hd: find out rom size if loading from PCI ROM BAR
* only the rom gets copied.
* tested by smallstepforman in #17377
* fix warnings.

Change-Id: Id4803d5c5a8bcab685f687c6af0292c945813ec6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4855
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-12 05:39:40 +00:00
Máximo Castañeda 3a809d9273 riscv64 syscalls: add explicit dependency
Fixes #17518

Change-Id: Id64ee4c3a3d28a32f41d8303c4a8c0c8228838d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4862
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-12 05:31:51 +00:00
David Karoly ddb70de4d2 kernel/x86/hpet: fix build with TRACE enabled
Change-Id: I8b1d8f0e8ba7e800fe458135197080617be731bd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4860
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2022-01-11 21:45:01 +00:00
Augustin Cavalier 218604196a libroot: Fix ICU locale implementation of wcsxfrm.
* The "size" parameter is the size of "out" not "in", and the
   return size_t parameter is supposed to always have the total amount
   of wchar_ts needed, not how many are actually used.
 * In the case where "outSize == 0", we set "requiredSize" and then
   return.

Fixes crashes seen in glib2 Unicode collation routines, which
are used in GTK file dialogs.

Thanks to PulkoMandy for glancing at this.
2022-01-11 16:34:15 -05:00
Andrew Lindesay c580ec7312 HaikuDepot: Fix Scrollbar
The scrollbar on some areas is misaligned
with the window frame.  This change will fix
this.  The class that implements the scroll-
view is also shaded by two class definitions.
This is also fixed by breaking the definition
into its own file.

Fixes #16169

Change-Id: I71372906e165672c9b697ab98181ecfb1b09fb43
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4849
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-11 20:09:35 +00:00
Kacper Kasper 7323d0a21d Minor documentation fixes
* Remove duplicated Interface Kit description.
* Fixed links, a typo, inconsistent page names.

Change-Id: I38e5943f31bf30870d33f02a97b4ef899222ec36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4854
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-11 12:22:17 +00:00
Autocomitter f6373f2244 Update translations from Pootle 2022-01-10 16:59:00 +00:00
Jérôme Duval a7115745f2 POSIX/C11: add timespec_get()
Change-Id: I746e32f3a463bf2c7b03097c625901d54cf2b8eb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4853
Reviewed-by: Rene Gollent <rene@gollent.com>
2022-01-10 14:46:27 +00:00
David Karoly 6f62f45641 boot/efi/arm: initialize TTBCR when starting the kernel
Change-Id: I5ecaa0a91c8677f7d1ac6a512de6de8b2eaa597c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4852
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-01-08 17:58:29 +00:00
Augustin Cavalier a8dc67c795 XHCI: Print the actual error for some more things in AllocateDevice.
May help with diagnosing #17464 and others.
2022-01-07 22:17:48 -05:00
Augustin Cavalier 4ec4055399 BBitmap: Make now-deprecated ImportBits variants private. 2022-01-07 22:05:30 -05:00
Augustin Cavalier 644c29d069 Adjust all in-tree applications after BBitmap::ImportBits API changes.
Change-Id: If3a06f35c01089cdbb696de479984f2b59fce7a0
2022-01-07 22:05:18 -05:00
Augustin Cavalier edd3417172 BBitmap: Introduce ImportBits variants that take BSizes.
The old versions used pixel-count dimensions, not pixel-span dimensions
as the entire rest of the API does, which was probably a mistake
in the first place. The new APIs using BSize always use pixel-span
dimensions.

The old versions will shortly be deprecated.

Discovered while working on Xlibe.

Change-Id: I604a5ac6e0588420ff0b667d9193d60ac27b92c6
2022-01-07 22:03:01 -05:00
Augustin Cavalier d66430ec52 XHCI: Add missing set-address delay.
The USB < 3.0 init code has this, and the XHCI spec indicates that
software is responsible for dealing with this still, indeed.

Noticed by rudolfc when testing some USB audio devices in #1045.
2022-01-07 21:45:22 -05:00
Augustin Cavalier a5404eb57f XHCI: Use B_PRI macros in one TRACE.
Pointed out by rudolfc on #1045.
2022-01-07 21:35:05 -05:00
Máximo Castañeda 910ebfc4f5 ServerFont: keep style if possible when setting face flags
The current style probably has the correct style flags portion. Getting
a new style in that case is unnecessary, and problematic with some font
families that have several fonts mapping to the same style flag
(SemiBold, Bold and ExtraBold are all B_BOLD_FACE, for example): the
chosen one might be different than the one already set.

Fixes #17229

Change-Id: Ie8e73627cc0547df9d624a8fac07f521fc983d06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4416
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-06 10:30:47 +00:00
Anarchos 69fdc6be3b radeon_hd : control of brightness
-detect if model > HD600
-apply change by calling ATOM_TRANSMITTER_ACTION_BL_BRIGHTNESS_CONTROL and ATOM_TRANSMITTER_ACTION_LCD_BLON
Author :     Anarchos <sylvain_kerjean@hotmail.com>

Change-Id: I30b9dd66c71e05427b827fc3ef2c7fa6c498646f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2786
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-05 22:35:06 +00:00
Heinrich Schuchardt 7127c048db u-boot/arm: simplify device tree handling
By updating $fdt_addr_r we can simplify boot-arm.scr.txt.

Now we can explicitly pass the device tree address to bootefi instead of
relying on a fallback inside U-Boot.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Change-Id: Ifceb574aca2814605a2e4e58e9187773817c5df2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2970
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-01-05 22:30:54 +00:00
Alexander von Gluck IV 58611befa2 haikuports/arm: Add missing zstd source package
* With this, Haiku arm is compiling again!

Change-Id: I6e878941856e77be5ff38bb2603dcc57b1a1460f
2022-01-05 10:56:16 -06:00
David Karoly 023a36024d boot/efi: introduce arch_dtb
Change-Id: Iff9e4198aca706097889faf51e9559fe551126ad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4782
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-05 16:22:35 +00:00
Alexander von Gluck IV f4df72a061 haikuports/arm: Add new missing zstd package
Change-Id: Id23e1fd731fb98ac172b8465195e5ed028751cb2
2022-01-04 21:17:55 -06:00
Alexander von Gluck IV 9137be71a3 haikuports/arm: Bump build-packages for arm to latest
Change-Id: I63aa4d2be06da4632363217079dce400808be477
2022-01-04 14:57:38 -06:00
David Karoly fbc211a255 efi: fix alignment for block device protocol
efi_block_io_media struct needs padding on x86.
uint64_t is aligned on 4 bytes in Haiku toolchain for 32-bit EFI loader.
But the EFI firmware expects it to be aligned on 8 bytes.

Same padding in u-boot:
https://github.com/u-boot/u-boot/blob/v2021.10/include/efi_api.h#L638

and in Illumos:
feff18a41e

Change-Id: I1b95cbe4cc1e7d96fde3ba52862a05f8a94aab79
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4840
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-01-04 17:56:41 +00:00
Jérôme Duval 80753344fe radeon_hd: fetch vbios from ACPI VFCT when available
check that the correct BIOS is found with the device and PCI ids.
make the allocated rom area bigger like Linux, otherwise page faults occur.

Change-Id: Iae6ff1c8dfd81ea16c20e73d511f9a0a96f9b071
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4844
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2022-01-03 22:36:20 +00:00
Jérôme Duval 82bdd31024 ext2: the offset still can be equal to the block size with metacsum
fix assert check for _CheckBlock()

Change-Id: Ibf0052a24e4b2fbcfff1e4a10d556cc4e6a6b103
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4843
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-01-03 21:09:38 +00:00
Kacper Kasper fd876ad749 intel_extreme: vblank interrupt support for Gen8+
Change-Id: I8e7e68786cc4a626cb386929600715a6a6b1917d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4760
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2022-01-01 11:36:02 +00:00
David Karoly 6117e0c29c boot/loader: relocate kernel to virtual address space on 32-bit architectures
Change-Id: Ic86ca6874f358df8755a0c691cccb155d145e06c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4675
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2022-01-01 11:35:28 +00:00
Adrien Destugues abef198c1a Tracker: fix logic to use custom icons.
Regression caused by refactorings in hrev55348.

The logic for deciding when to use a built-in tracker icon was changed
incorrectly to ignore attributes on directories, trash, etc (anything
but executable applications). So the built-in icon was always used.

This commit restores the previous logic.

Shoud fix #17320 and #17371

Change-Id: I51ba22db59a8b6dd2bd1121b56c753ed47224c57
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4841
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-31 17:41:28 +00:00
David Karoly a7c2c5f842 Update bootstrap package versions for ARM
Change-Id: I33f690355455561cb3faa55bccbfe73d24d2a32e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4842
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-31 16:03:11 +00:00
Alexander von Gluck IV fa50d49db0 libroot: Correct no-builtin to be properly focused
* memset.c not arch_memset.cpp like on x86_64
* Sorry for spam

Change-Id: I79049e3a35c48431cef3bb9f54f0c9071663deeb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4838
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: X512 <danger_mail@list.ru>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-30 00:08:20 +00:00
Alexander von Gluck IV f122ecfab7 libroot: Compile all arch arch_string with no-builtin
* This was originally added in hrev55661 for x86_64
* riscv64 suffers the same issue after updating to gcc 11
* Presumably, all architectures might suffer from this,
  so apply to all remaining architectures

Change-Id: I41f2adeb5153ce4f4094d667ae303394d537d8ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4837
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-29 22:40:29 +00:00
X512 0d9b77a328 haiku_loader.riscv: update for SMP support
Change-Id: Ic3f83e80347036727a06eb6199c44e00079fb304
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4715
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-12-29 20:12:19 +00:00
X512 715304011f haiku_loader.riscv: update
* Moved machine mode code from kernel.
* Added MMU page table generation.
* Added QEMU ramfb video driver.

Change-Id: Icd67cd2e8dbf2b568d81ab8dd0d6127ca3cd97a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4302
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-12-29 20:07:31 +00:00
Adrien Destugues 0f2661cc08 Partially revert "ActivityMonitor: remove double buffering and custom background drawing"
This partially reverts commit cc0226fad0.

This commit caused high CPU usage in app_server. The double buffering in
ActivityMonitor is not to avoid flickering, it allows to draw just a few
pixels of the the curves at each update, and reuse most of the bitmap
from the previous run.

Removing this means all the curves are fully redrawn at each update,
resulting in higher CPU usage (one core at 30% on my machine with 5
different graphs).

Keep the part of the changes removing code for custom background
drawing. B_TRANSPARENT_VIEW flag can be used instead.

Change-Id: Ie3438ca634c934f3e96ce5f7ad71ce7b3a435013
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4833
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2021-12-29 17:25:56 +00:00
Adrien Destugues 05ce14d174 app_server: fix B_OP_COPY
Skip pixels with a coverage of 0. Since the source alpha channel is
ignored, we would otherwise cover pixels that shouldn't be.

Fixes #17449.

Change-Id: I373672a765b99efce5dceed4ffa81741f78b9d9f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4836
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-29 16:45:53 +00:00
Alexander von Gluck IV a06c7a2ec3 riscv64: refresh build-packages based on unbootstrapped packages
Change-Id: I53fadd4fdc733c564636a8117053f1e273ad3f6f
2021-12-29 10:41:16 -06:00
Adrien Destugues 58af5dce79 ActivityMonitor: add CPU speed graph
The info is now available in cpu_info, we should do something with it.

Change-Id: Iac7bd697783d63b5c84c7da33770b3c9a7d417b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4832
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-28 22:38:34 +00:00
Pascal Abresch 3604e6c384 WebPositive: fix loading bar height
Change-Id: Ic1e9c1c64b8bd00efadd6e2ea9f0c686e8b1141c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4823
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>
2021-12-27 16:01:57 +00:00
David Karoly 235aa994d7 boot: rework 32-bit/64-bit kernel load base selection
Change-Id: I0aed05c0ef2ff1a162581e4f988bf24ed1e521e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4816
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-27 15:44:56 +00:00
David Karoly b9a0a02382 arch/x86: select between 32-bit and 64-bit ELF based on arch and platform
arch_elf is reused between the kernel and boot loader

No change for kernel mode compilation.

How to select 32-bit or 64-bit when building boot loader:
* build both when building BIOS loader
* build only 32-bit when building 32-bit EFI loader
* build only 64-bit when building 64-bit EFI loader

Change-Id: I9caa1248c7eb24318911a0c369137cedb638e4e4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4817
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-27 15:17:54 +00:00
David Karoly 182eaee962 boot/loader/x86: select between 32-bit and 64-bit ELF support based on arch and platform
Build both when building BIOS loader.
Build only 32-bit ELF support for 32-bit EFI loader.
Build only 64-bit ELF support for 64-bit EFI loader.

Change-Id: I88bb287fbb9a4b6618b365b2d03f85f64021f499
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4818
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-27 15:17:17 +00:00
Adrien Destugues 5fcc7f71b5 ethernet: do not log everytime there is a media change.
This code was written with wired ethernet in mind, where changes are
rare. However, on wifi the "media" changes all the time (switching
between different connection speeds). So, only log linkup and linkdown.
The other events are not that important.

Change-Id: Iaafb74ceb05a59dedf94184eee23a4e81fa5e983
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4827
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-21 18:51:25 +00:00
Adrien Destugues a8b90daa8a Fix more problems with DHCP timers
- Number of retries could overflow. If we retry something more than 255
  times and it fails, just stop, instead of flooding the network with
  bogus requests
- The timeout could also overflow. It was stored in microseconds in a
  time_t, which allows a bit more than an hour. This is fine for the
  initial timeout (which starts at a few seconds and will go up to 64
  seconds), but after that we switch to a slower rate driven by the
  "state time". In particular, this can be the lease time, which DHCP
  servers may set to several days, or at least easily more than an hour.
- The computaiton of the timeout in the "slow lease" case attempted to
  do "not less than a minute", but missed a conversion from microseconds
  to seconds so it ended up doing "not less than 60 microseconds"

The combination of all these things means we can end up with a negative
timeout, and we will send a burst of requests without ever stopping,
flooding the network.

Change-Id: I0eb811c90f4a4dd8c9d92bff728bc2bbb52fbd56
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4826
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-21 18:51:25 +00:00
Jérôme Duval 50a4c18678 kernel/xsi_semaphore: set otime when semop() succeeds
used by PR_OpenSemaphore in NSPR to check the creator inited.

Change-Id: I626c6ab0d50896c94224718ca4fa0788f74ae27a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4824
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-18 21:14:39 +00:00
Alexander von Gluck IV 65ed50c713 graphics/edid: Add support for digital display info; solves #17462
* We pack the first 8 bits into a union for the raw
  edid since alignment matters.
* Handing the raw_edid is a bit ugly, so in the edid struct
  we drop the input_type from the union since packing doesn't
  matter as much.

Change-Id: I32dbfe9484f9eb83cf491a44d30a32ca36d65b7b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4775
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-18 15:21:30 +00:00
Lt-Henry 6a9aea9dfd input: implemented B_GET_DEVICE_NAME ioctl on both usb and i2c input devices
Change-Id: Ie1eb0a958b4d60e6fa673cf8fe72bdfe924baf51
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4798
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-18 14:51:19 +00:00
Alex Hitech 370623a923 Russian keymap: the Rouble currency sign was mistakenly on the Capslock key, and vice versa.
Change-Id: I3d907da00cfc0d5092ef04bfa50f413ba261e5e6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4822
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-18 09:39:47 +00:00
Augustin Cavalier e0842c10af kernel/condition_variable: Pause between iterations.
Should hopefully resolve the remaining problem in #17455.

Change-Id: I6e00286508c069705e07c9a0b59af2cf5e15e427
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4819
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-18 07:52:47 +00:00
Jérôme Duval 101dc0ba83 strace: fix revents output for poll syscall
each poll_fd struct should be checked, valid when not -1 and revents not zero.

Change-Id: Ia624ad1369ad1a6066c9970a47cfac63fa773702
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4821
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-17 20:40:55 +00:00
Jérôme Duval 3285dcae22 tcp: reset receive.low_water_mark when nothing to read anymore
the socket interface module checks the receive.low_water_mark to automatically
notify a read event. available_data will be zero, thus enabling the notification.

fixes the test poll_nm in NSPR.

Change-Id: I5354faec439df96671506550cdb144a45f6082b1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4820
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-17 20:40:55 +00:00
David Karoly 18e885db51 boot/efi: implement convert_kernel_args for 32-bit
Change-Id: I528d6f8ca576b38c50dc314972636e7156d24705
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4784
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-17 08:58:57 +00:00
David Karoly af90bfd3bb boot/efi: introduce arch_convert_kernel_args
Change-Id: Iabb321564d6733c6cf481ec2548fa287e308ae89
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4796
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-17 08:58:57 +00:00
Augustin Cavalier e94ea7bc22 UDP: Fix double-reference of DomainSupport.
PulkoMandy in cb3199681e changed
the _GetDomainSupport functions to always Ref() the the object.
However, that means in the case of the second _GetDomainSupport
function, which is implemented in terms of the first, we should
not call Ref() as this will create a double-reference.

Fixes a memory leak.

Change-Id: Ib82b2dadc0c8cc8d8f95efcffeb2430ac602a0a9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4791
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-16 08:55:55 +00:00
David Karoly c1e0007eea virtio-mmio: add initialization for legacy mode (version 1)
Change-Id: I4dcfca8cfabafad592b638b28215225b1cca35d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4657
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-15 15:55:50 +00:00
David Karoly f0adfe2a54 boot/efi: fix dummy reloc for x86
Change-Id: Ia61d593c8d131bd6780688ea932b5b92bd629764
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4748
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 19:56:21 +00:00
David Karoly 1a7afaa45b boot/efi: fix for garbled first item returned by mmu_next_region()
Change-Id: Ic9d02800bccbb5508eeb0b2c1ee1ed1326d0829f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4783
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 19:48:38 +00:00
David Karoly 20efe26dfa boot/efi/arm: fix printout of kernel entry address on startup
Change-Id: If3d592983e1c22210c6b4d3a6ceaf2a7641e7e7a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4785
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 19:46:50 +00:00
David Karoly 1f6e2499db ldscripts/x86: add ldscript for EFI loader
Linker script is adapted from elf_ia32_efi.lds in GNU-EFI.
see:
https://sourceforge.net/p/gnu-efi/code/ci/master/tree/gnuefi/elf_ia32_efi.lds

The only significant change is the additions of ctors.

Change-Id: I1091f610129f806f124d714fd9a42cf932fa1c2d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4746
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 19:44:23 +00:00
David Karoly d223f9d9c2 boot/efi/serial: fix legacy mode for x86
Change-Id: I44fd33289da94e9520c6c202ac96c4ca8e511638
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4754
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 13:19:14 +00:00
David Karoly a857758352 boot/efi/x86: fix address for arch args
Change-Id: If9a3bb32cb8d290f97cee2e8e821dcbf8b8852a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4789
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-12-14 11:15:37 +00:00
Jérôme Duval d057f0aedd lgtm.yml: disable Wformat-diag when building gcc
LGTM seems to provide GCC 9.2, for which the flag -Wformat-diag is falsely
detected as supported.

Change-Id: I95a5946d9c6cd2af73e85070973f855fba3fcc39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4786
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-14 06:06:41 +00:00
David Karoly 3896dbcb1d kernel/arch/arm: fix missing return statement in rtc
Change-Id: Ib5a2e06884b6973ed102b30b1339a7b800c95418
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4781
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-13 14:47:10 +00:00
Murai Takashi 771516d7f0 lgtm.yml: add g++ to prerequisite software
LGTM build failed since -Wformat-diag check is failed.
So we add g++ to check its version in LGTM.
May help to fix #17460.

Change-Id: I9400dbbab7800c522bf7ed797adae48299581a4e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4780
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-13 13:59:38 +00:00
Alexander von Gluck IV 000310809f debugger: fix warning format-overflow= '%s' directive arg is null
Change-Id: Iba00fbcc3f8fde088bed62b93c4e3acae4e0b902
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4777
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-13 10:23:24 +00:00
Alexander von Gluck IV 4c8e85b316 3rdparty/docker/bootstrap: Fix bootstrap container
* Update for newer git (init -b support)
* Fix configure args for new cross-tools-source

Change-Id: I757a1a48affb8cd98ddd8a0890393bdb6bc2a81f
2021-12-12 14:24:21 -06:00
X512 8ca0f03d0c riscv64/smp: Implement multi-processor support
* Working under qemu smp 1,2+
* Working on SiFive Unmatched
* x86_64 efi not broken by smp_boot_other_cpus change

Change-Id: I32ebc17913e46ed082be9ade8f56448bbf12f16e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4705
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-12-12 15:35:24 +00:00
Augustin Cavalier 0cdb323800 app_server & Application Kit: Fix bitmap cursor handling.
Using a memcpy here is supremely dangerous, because we are writing to
an app_server buffer that we chose the length for, but using a size
that came from the client. And, indeed, because the buffer can contain
padding if the BBitmap was allocated with a non-standard BytesPerRow,
we will overflow the buffer and corrupt memory, causing app_server to crash.

So, instead, reorganize parameters a bit, and pass BytesPerRow along
with the other data needed to instantiate the bitmap, and then use
ImportBits.

Fixes an app_server crash I triggered with the experimental libX11
compatibility layer.
2021-12-11 21:44:59 -05:00
Alexander von Gluck IV 662912945f radeon_hd/pll: Guard bpc on non-HDMI under table 1.5,1.6
* Cut extra calls to display_get_encoder_mode
* Correct incorrect ucMiscInfo on table 1.6 via atombios
  comments

Change-Id: Ib6d7938269b8421d3711c1344eab0b9842336932
2021-12-11 10:30:43 -06:00
Alexander von Gluck IV 3084929f81 radeon_hd/pll: Fix pll MiscInfo on table 1.5
* Looks like some error in atombios. AMD just
  reversed the values instead of fixing the atom.h
  defines in Linux.

Change-Id: I440682af5708ce0da1625e8f50e8cb77595c8397
2021-12-11 10:19:13 -06:00
X512 98296c4a29 haiku_loader.efi: fix build for riscv64
Change-Id: I83f4b45ea950e81fdd712644433266401c0747bd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4774
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 15:35:02 +00:00
Alexander von Gluck IV e87cba3470 radeon_hd: Add handling of connector routing
* A first attempt at improving on #17377
* We haven't actually seen any cards using this
  routing stuff yet pre-navi.
* We don't use the router information yet... but this might
  improve things a bit on new cards.

Change-Id: I17962dfd8bb09e619a6084cd9571ccb9832fb19a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4697
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 14:19:00 +00:00
David Karoly 6e28efbb5f platform/efi/devices: fix build when TRACE is enabled
Change-Id: If9ea3212b7908aaa6c9c6774cb68a6dbf635a5ac
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4761
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 14:16:34 +00:00
David Karoly 1103466926 build ARM EFI bootloader with soft-float
Change-Id: If7feffafea4fc6d295d04f696127c8f0fbd8fb9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4704
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-12-11 14:07:06 +00:00
David Karoly 69f4a74149 link bootloader with libgcc-boot.a and libsupc++-boot.a on ARM
Change-Id: Ia7f41191136db3ea34ed6abee97ae627bb7b1727
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4703
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 14:07:06 +00:00
David Karoly 123aa1325c boot/efi/arm: enable FPU before jumping to kernel
Change-Id: I37bb2146102a207e97355e099f6b4160d644c326
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4701
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 14:07:06 +00:00
Jérôme Duval 17e8767959 intel_extreme: define bdb header values, check panel type.
Change-Id: I2e5b61da9aecc11be13178a0b48211d172454d94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4773
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-11 13:30:20 +00:00
Rudolf Cornelissen d2e4af7873 intel_extreme: expand bios scan for panel a bit, might help ticket #17451 2021-12-11 12:21:42 +00:00
Augustin Cavalier 84c9ff3ee5 net80211: Work around #17458.
Until the cause can be properly determined, anyway.
2021-12-10 21:48:27 -05:00
Augustin Cavalier 08236b3b59 libroot: Force __cxa_pure_virtual to be linked in libroot_debug too. 2021-12-10 21:34:44 -05:00
Augustin Cavalier 7959ac39f1 kernel/condition_variable: Unblock after unset, if possible.
The previous round of this code unblocked after unset universally,
but that was incorrect in the case where the thread was not in
the "waiting" state before we unset. Yesterday I changed that to
just unblock before unset universally.

It seems, however, that thread_unblock is so time-consuming
that the other thread will wake up and begin doing things
before unblock returns for us, and then it will hit the timeout
before we have a chance to unset. So, now we unblock later
if it is possible to do so.

It seems very strange, though, that thread_unblock will
not return in a small but significant number of cases
before the unblocked thread actually starts running (note
that we are in interrupts-disabled mode here, so that is
not the problem.) That sounds like a problem for another day.

Should fix #17455, possibly in tandem with the previous commit.
2021-12-08 17:39:02 -05:00
Augustin Cavalier 145526308a kernel/condition_variable: Increase tries count.
Should help with timeout panics occurring, at least somewhat.
2021-12-08 17:33:08 -05:00
Augustin Cavalier 6ae7f1f12d XHCI: Consolidate xhci_device cleanup routine and use it in AllocateDevice.
This also fixes a leak of slots when initializing devices failed.
Fixes #16323, although there is some other underlying problem
which led to that error in the first place.
2021-12-08 12:59:45 -05:00
Augustin Cavalier 2b4a870a7f packagefs: Prevent signed integer overflow in Query::IndexGetWeightedScore.
As the comment already noted, the maximum input score is 2048,
and 2048*1024*1024 overflows int32. Subtract 1 from maxFactor
to prevent this.
2021-12-08 12:26:30 -05:00
Augustin Cavalier fb25e7349d scsi_cd: Remove unused code. 2021-12-08 12:25:09 -05:00
Augustin Cavalier ca89fd65a6 HaikuPorts: Mesa on x86_gcc2h needs llvm9. 2021-12-07 22:43:06 -05:00
Augustin Cavalier f207629e04 MACLib: Only define min & max if we are on GCC2.
Otherwise they will be pulled in from <algorithm>.
2021-12-07 22:19:31 -05:00
Augustin Cavalier 36a1e12f21 kernel/vm: Cast temporary to uint32.
It is defined as a uint32:1, which apparently becomes an "int" on
newer GCC versions, which thus triggers a -Werror=format. So,
convert it explicitly in order to prevent the error.
2021-12-07 21:24:00 -05:00
Augustin Cavalier a81d165008 Update build-packages for GCC 11 upgrade. 2021-12-07 14:26:24 -05:00
Augustin Cavalier c52bbf73b5 ArchitectureRules: Adjustments to Werror flags for GCC 11. 2021-12-07 14:24:15 -05:00
Augustin Cavalier dbaef85011 configure: Use IS_LEGACY_GCC instead of manually comparing GCC versions. 2021-12-07 14:22:54 -05:00
Augustin Cavalier f0213b4407 EXTranslator: Disambiguate clamp(). 2021-12-07 14:22:24 -05:00
Augustin Cavalier 365c228de7 RTFTranslator: Remove some dynamic exception specifications. 2021-12-07 14:22:12 -05:00
Augustin Cavalier db911197a0 libroot: Force __cxa_pure_virtual to be linked in.
In GCC 8 builds it is by default, in GCC 11 builds it is weakly
defined, which runtime_loader does not yet support properly,
so we force it to be included.
2021-12-07 14:21:52 -05:00
Augustin Cavalier 7ce3c9283e kernel/condition_variable: Unblock earlier and simplify the code more.
Unblocking after unsetting fVariable just causes too many headaches
and corner cases to deal with; the code as-is did not actually handle
all of them, as it missed the case where the entry thread had called
thread_prepare_to_block but had not yet actually blocked.

Hopefully the last fix for #17444.
2021-12-07 14:15:54 -05:00
Augustin Cavalier acdd232ad5 kernel/condition_variable: Check thread->state before unblock.
See inline comments. Should help with #17444.
2021-12-07 13:30:36 -05:00
David Karoly b3780b5658 kernel/arch/arm/int: enable OMAP3 and PXA intc drivers
Change-Id: I83ab8cd4c474bd374f66a39d9a60c778dd7033e8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4757
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-07 10:58:24 +00:00
David Karoly 36d65a7890 kernel/arch/arm/int: add initialization code for GICv2
Change-Id: I4f98a4e0277ce37e758cabbb04806cf13f351f1e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4674
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-07 10:58:24 +00:00
David Karoly 354655e136 boot/efi/dtb: implement interrupt controller detection
Change-Id: I045a94c5bcb7c16297bc6fdd1fa2981e5b3f3a62
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4756
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-07 10:58:24 +00:00
Jérôme Duval 09a8f74d70 intel_extreme: add PCH definitions for some platforms
Change-Id: Id91f8fb526825cc62cd4288bee4a6d08dfd6654a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4764
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-07 08:32:49 +00:00
Rudolf Cornelissen a4493afb60 intel_extreme: fixed small error, forgot to (re)set default refclk for DP. 2021-12-07 00:48:58 +00:00
Rudolf Cornelissen 9ef22aa9d7 intel_extreme:DP links on sky- upto/incl coffeelake are now done (refclk detection added) 2021-12-07 00:42:42 +00:00
Lt-Henry 6c88202d33 hid_shared: factorize more code between USB and HID
* Removed i2c keyboard handler, as it was just a hid shared handler duplicate with kdl stuff removed
* I've created a new macro def for the kdl code, splitting generic kdl code from specific usb one
* I2C custom KDL code can be added in the future (I don't know if it is already possible)

I am not very happy with this solution, but imho it is better than having two keyboard handlers. In fact, they were already out of sync from last patch series

Change-Id: I36513e57a2ce4f004fc7e05ccff5a6b2517fc139
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4758
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-06 19:49:02 +00:00
Augustin Cavalier 858210daf4 kernel/condition_variable: Acquire thread->scheduler_lock before unsetting fVariable.
This fixes a race condition as described in the inline comment.

Hopefully fixes #17444.
2021-12-06 13:11:28 -05:00
Jérôme Duval 949005a59b strace: handle parallel syscalls on different threads
If a thread executes a system call and meanwhile a different thread calls another one, then
the ongoing call is marked as unfinished. When the call returns it will be marked as resumed.

* remove PreSyscall, now unused.

Change-Id: Iea45b866be2c40568d766c2ed3cc73e34b9d1293
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4765
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-06 17:22:50 +00:00
David Karoly f18aba2ca8 BootRules: use non-legacy ld
Change-Id: I0dc6a1c8731e710a9c43b6dfa5ea08c84fa5d3a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4759
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-06 03:08:27 +00:00
David Karoly 8032682c23 OverriddenJamRules: sort out build flags for .S files
Change-Id: I1ad67e1aab3911e7b66dc801923e8ba5cc1e087d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4755
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-06 03:08:27 +00:00
Jérôme Duval 39782e55fa strace: support trace for poll() and select()
in the case of poll(), the events should be printed before the actual syscall,
and the revents after, while taking in account the return value.
thus B_DEBUGGER_MESSAGE_PRE_SYSCALL needs to be enabled and handled.
the attribute "preSyscall" is added to identify such syscalls, and the parameters
are identified with the attribute "inOut".

Change-Id: I390643ea176c720738c5ec4fc75a3a4c7125a3cd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4763
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-06 03:07:41 +00:00
Jérôme Duval c53f760dfe strace: add some constants ioctl from sys/ioctl.h
Change-Id: I100f715f899435c6a9bce775d95da6f755ba55c6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4762
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-06 03:07:41 +00:00
Rudolf Cornelissen c80ea54975 intel_extreme: PLLs post skylake work differently again. Refclk update. 2021-12-05 16:56:15 +00:00
Rudolf Cornelissen d60c7e010c intel_extreme: for gen9.5 added new portF to DDI scan. add ID dump in kerneldriver. 2021-12-05 12:47:05 +00:00
Rudolf Cornelissen 77b2dd17df intel_extreme: added DDI link colordepth detection, may fix ticket #17439 2021-12-04 23:24:50 +00:00
Rudolf Cornelissen a33640cc6b intel_extreme: fix 3 and 4 lanes DP connections (ticket #17439) 2021-12-04 00:46:36 +00:00
Augustin Cavalier 3c2597393c kernel/int: Allow arch_int_assign_to_cpu to make its own decisions.
For now this is used on RISCV64 to indicate that interrupts will always
be on CPU 0. However, in the future, some architectures may want
or require interrupts to be "steered" in various ways, and this
also paves the way for that.

Change-Id: Iec79870cf5c4898d102d0e624de19602271ae772
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4721
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-03 22:36:47 +00:00
Rudolf Cornelissen 3316cfc9af :intel_extreme: only offer backlight control in screenpres on laptops. 2021-12-04 00:25:49 +00:00
David Karoly 563ac51229 boot/efi: fix compile issue with format strings
Change-Id: I144afe78f73fed211ea1c72584fa5f12e4452454
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4751
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-12-02 12:50:54 +00:00
David Karoly e82b457883 boot/efi/devices: fix warning for comparison signedness
Change-Id: I2a329c91d229a8672536ccdaa2c94db109390308
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4752
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-02 12:50:37 +00:00
David Karoly c5d81c2739 build: prepare for x86 EFI loader
Change-Id: Ic9e4181042bf634cd590d8c95935a987a4871b0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4753
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-02 12:50:25 +00:00
David Karoly f5f10a9ec9 boot/efi/arm: remap UART to kernel address space
Change-Id: Iff145a45e8efe28b710d5a948f6f69a944027885
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4744
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly 1f46427d16 kernel/arch/arm: introduce virtual_ranges_to_keep
Change-Id: I36b8b871a103f2be87c600fc0b0a12f7ceff0ae4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4743
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly 19960ba6f9 boot/efi/dtb: implement interrupt-cells handling
Change-Id: Ia95c2cfecde27cdd6d5a8f0556da7e387eecb07c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4742
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly a722fbfc45 kernel/arch/arm: enable 8250 generic and OMAP UART drivers
Change-Id: I45396eada2e9088b27df7fb9522d07e8ac223fd5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4741
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly 15951db938 kernel/arch/arm: initialize debug console based on FDT
Change-Id: I759d38185c2f7e75d8ba7120c8d06740720171ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4735
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly 326b5263de boot/efi/dtb: implement clock frequency resolution for PL011
Factor out the code for clock frequency lookup to a separate function.

PL011 does not have clock-frequency property, it has a clocks property
instead, containing a phandle of the apb clock.

Change-Id: I5cbe2b4b2421afe1924c2804002ceef83ce37ef9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4734
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly ff9497b539 boot/efi/dtb: require exact match for PL011 in device tree
Don't match PL011 for arm,primecell compatibility string
as it can indicate other peripherals.

Primecell peripherals have the generic "arm,primcecell"
name as well as a specific name in the format of "arm,pl???"

see:
https://www.kernel.org/doc/Documentation/devicetree/bindings/arm/primecell.txt

Change-Id: Ida6450e9e71dac834770d558e4ab95c5574970cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4733
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:16:31 +00:00
David Karoly 8a18d81d7a boot/arch/arm: disable FPU initialization on bootloader start
Change-Id: Idd71940d22a9004e93f613899725d299a7932d8c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4702
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:07:42 +00:00
dsizzle d1f10fcef9 Added missing --cross-tools-source argument name for bootstrap build and missing \ at the end of line 136
Change-Id: Ie4a6d47d78a1f2eb707c15a53335adee7e370376
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4745
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-12-02 08:05:50 +00:00
Augustin Cavalier 62cdbd253e libbe_build: Add header needed on some systems. 2021-12-01 17:15:23 -05:00
Augustin Cavalier 711e2dc05b Adjust all struct dirent creations (again), this time to use offsetof().
The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent).
Thus in order not to waste the alignment bytes (which are significant,
on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.)

This is also the most portable way to handle things, and should
work just fine in cross-platform code that has a non-zero-sized d_name.
2021-12-01 17:05:40 -05:00
Augustin Cavalier ba0e4a83e5 FAT: Unlock before calling the file cache.
Otherwise if the file cache calls us again from a different thread,
as it sometimes does when doing concurrent I/O to multiple files,
we will deadlock.

Fixes #14104.
2021-12-01 16:39:24 -05:00
Augustin Cavalier e385e3a009 FAT: Remove some unneeded locks.
Noticed by PulkoMandy in review on 4725.
2021-12-01 16:29:47 -05:00
Augustin Cavalier 690671b0c7 FAT: More miscellaneous cleanup.
* Remove __RO__ hack inherited from BeOS sample code.
 * Remove and excise unneeded macros.
 * Remove readlink, VFS will return EINVAL in its absence anyway.
2021-12-01 16:28:21 -05:00
Augustin Cavalier 8896f5d72f FAT: Make more use of C++ features and utility classes.
This driver was fully C until relatively recently, when it was
switched to C++ so that it could be used with fs_shell. However,
it still is mostly using C paradigms; so this commit begins the
refactor away from that.

If I did this correctly, there should not be any functional change.

Change-Id: Id87d17b2e019ccdd1c7f07156cfe2a2124496675
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4725
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-12-01 21:16:26 +00:00
Jérôme Duval 9dcb1b7ff7 intel_extreme: added IDs for ASUS laptop in ticket #15392
also for Acer Aspire F5-573G from https://bsd-hardware.info/?probe=240171b234

Change-Id: Id3c83d3039736fa749f0411889c081e447bd0444
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4750
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-01 13:02:42 +00:00
Jérôme Duval befbf01515 intel_extreme: implement get_preferred_mode for vbt on mobile
this avoids searching in edid information in this case.

Change-Id: I330341f089f71cd5de657a6630b5414d02db771f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4749
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-12-01 13:02:42 +00:00
Rudolf Cornelissen 7a52a73261 intel_extreme: added IDs for ASUS laptop in ticket #16825 2021-11-30 22:25:03 +00:00
Jérôme Duval 3fedf64872 intel_extreme: enable KabyLake
Change-Id: I81d04fdf8305efcc9250cfb975dd3466ebcb4058
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4740
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-11-30 08:06:56 +00:00
Kacper Kasper 66aae93087 intel_extreme: enable CoffeeLake
Change-Id: Id73c88d0815259fa7a8027f757ac430818492b1e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4739
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-11-30 08:06:56 +00:00
Augustin Cavalier 02077ffc42 kernel/condition_variable: Atomicize ConditionVariableEntry and drop the lock.
Before 2019, the entire ConditionVariable system was "giant"-locked:
that is, there was a single global lock that all ConditionVariable
and ConditionVariableEntry operations had to pass through. This of
course was not very performant on multicore systems and when
ConditionVariables see significant use, so I reworked it then to have
more granular locking.

Those patches took a number of attempts to get right, as having two
objects in separate threads that can each access the other not turn
into a deadlock or use-after-free is not easy to say the least,
and the ultimate solution I came up with erased most of the performance
gains I initially saw on the first (partially broken) patchsets.

So I have wanted to revisit this and see if there was a better way
even since then. Recently there have been a few reports of
ConditionVariable-related panics (apparently double unlocks),
notably #16894, and so that was reason enough to actually revisit
this code and see if a better solution could be found.

Well, I think I have come up with one: after this commit, Entries
no longer have their own lock, and instead accesses to Entry members
are almost always atomic; and there is now a case where we spin inside
Variable::_NotifyLocked as well as one in Entry::_RemoveFromVariable.

This leads to somewhat simpler code (no more lock/unlock dance in Notify),
though it is significantly more difficult to understand the nuances of it,
so I have left a sizable number of comments explaining the intricacies
of the new logic.

Note: I initially tried 1000 for "tries", but on a few instances I did see
the panic hit, strangely. I don't think the code that is waited on can
be reasonably reduced any further, so I have just increased the limit to
10000 (which is still well below what spinlocks use.) Hopefully this suffices.

Quick benchmark, x86, compiling HaikuDepot and the mime_db in VMware, 2 cores:
before:
real    0m23.627s
user    0m25.152s
sys     0m7.319s

after:
real    0m23.962s
user    0m25.229s
sys     0m7.330s

Though I occasionally I saw sys times as low as 7.171s, so this seems
to be at least not a regression if not a definitive improvement.

Change-Id: Id042947976885cd5c1433cc4290bdf41b01ed10e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4727
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-11-30 02:18:27 +00:00
Kacper Kasper 7a855aa5c7 intel_extreme: fix overflow in SKL PLL calculation
* RGB 4K@60Hz clock is 594MHz, that multiplied by 5 overflows int value.

Change-Id: Idda04119d582fa4e30c7729296ad5959b29dba77
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4738
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Rudolf Cornelissen <rudhaiku@gmail.com>
2021-11-29 18:14:21 +00:00
Kacper Kasper fe9ab0f353 intel_gart: add support for Gen8+ GPUs
Change-Id: I8b84e278f33542c359fc0d783f571e06ebc89b2a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4737
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Rudolf Cornelissen <rudhaiku@gmail.com>
2021-11-29 18:14:21 +00:00
Rudolf Cornelissen c199501e81 intel_extreme: add laptop panel detection and mode scaling for DDI systems 2021-11-29 13:30:27 +00:00
Rudolf Cornelissen 6ed123e532 intel_extreme: always assume panel on eDP on laptops. 2021-11-27 18:15:07 +00:00
Rudolf Cornelissen 03ed104900 intel_extreme: enabled all known skylake gfx cards since they are pgm'd now 2021-11-26 23:52:15 +00:00
Rudolf Cornelissen 39e05c7d01 intel_extreme: skylake PLL works, all outputs fully functional. 2021-11-25 22:41:48 +00:00
Murai Takashi 4500c381d2 drivers/graphics/framebuffer: fix include guard
Pointed out by LGTM (Duplicate include guard).

Change-Id: Idc0e0cd48f85d4635f87355f36eb03932aa36d2e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4736
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-25 12:20:29 +00:00
David Karoly 493b3fc409 bus_managers/fdt: check for NULL
Change-Id: Ib33b2591c2966a266e0813e042d388dbe88ef939
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4700
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-24 13:39:23 +00:00
David Karoly 191fa37376 kernel/uart: fix GetChar for PL011
Check RX buffer status when GetChar is called in no-wait mode.
This fixes an 'infinite keypress' issue that used to occur
after 16 keypresses.

Change-Id: I47762de387b07c4fed46cc192cd3b81fdabfb270
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4732
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-24 13:38:14 +00:00
Augustin Cavalier 750ed8dd41 nvme_disk: Implement TRIM.
Only lightly tested (in QEMU with qcow2 images: it seems to work
and not to discard actual data.) Use with caution!
2021-11-23 17:57:37 -05:00
Augustin Cavalier ab2a1b20e3 nvme_disk: Add a missing CALLED() and another assert. 2021-11-23 17:57:36 -05:00
Augustin Cavalier 3ff0d7a882 libroot: Compile x86_64's arch_string with -fno-builtin.
Otherwise, GCC and Clang create infinite recursions.
Fixes #15827.
2021-11-23 16:36:48 -05:00
Augustin Cavalier 2532a28785 Avoid using unions for LongDirEntry.
GCC still assumes that the dirent has no data past the end for some
scenarios here and still mis-optimizes things. Therefore, drop the
usages of unions altogether, and instead use a casted character array.

Additionally, use B_FILE_NAME_LENGTH for the array, not B_PATH_NAME_LENGTH,
and make sure to add 1 for the NULL terminator.
2021-11-23 16:36:18 -05:00
Augustin Cavalier 8be37ed439 kernel/smp: Avoid casting spinlocks, which are structures.
The lock entry is the first thing in the struct, so this is a no-op
change, but it is safer to do in case of changes, of course.

Spinlocks have been structures for quite a long time, so this was
probably just missed in the conversion.
2021-11-23 13:52:44 -05:00
Augustin Cavalier ba3ee26af0 WindowInfo: Use char[0] for FLA instead of char[1].
This is a private structure, so despite being an ABI break,
it should not cause any problems.
2021-11-23 13:50:45 -05:00
Augustin Cavalier 3d34a937af Package Kit: Build FetchUtils outside HAIKU_TARGET_PLATFORM_HAIKU. 2021-11-23 13:49:14 -05:00
Augustin Cavalier 1998232e12 libpackage_build: Add FetchUtils.
Change-Id: I2394d35c520c6cdde6e7cb09039d0d8f5689f19f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4731
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-23 18:41:20 +00:00
Augustin Cavalier 2be10edfb9 Package Kit: Improvements to partial download handling.
* Move IsDownloadComplete call into DownloadFileRequest; this way
   we will always revalidate checksums even if the file is fully
   downloaded instead of skipping that.

 * Treat ERANGE as a "bad data" error in PackageManager (it usually means
   we have a size mismatch between the local and the server's file)

 * If we fail checksum validation or get ERANGE, and we reused a download,
   immediately try again without reusing the download. This fixes most
   problems that previously required you to delete old transaction
   directories.

Change-Id: Ia3079655691b871e0b206e366b59fca0f832c63d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4730
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-23 18:32:28 +00:00
Augustin Cavalier 001e157a7b libroot_build: Add better error checking to _kern_dup.
This way, we will get a more coherent crash instead of
an unceremonious one. Follow-up to #17389.

Change-Id: Iffbf421ce85d638628243d5785ba61ff6b9a8043
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4729
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-23 17:24:46 +00:00
Augustin Cavalier 23888052c9 ntfs: Fix off-by-one error in d_name copy.
Should fix incorrect directory contents after the dirent refactor.

Change-Id: Ic2b5024b62c9d9f9485c4695b59d0e971109f09d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4728
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-22 21:13:36 +00:00
Rudolf Cornelissen e8e267b4c1 intel_extreme: fix 64-bit build, use 2021-11-22 12:56:07 +00:00
Rudolf Cornelissen efde34c2fc intel_extreme: add haswell/skylake PLL calcs, no functional change yet. 2021-11-22 11:14:36 +00:00
Jérôme Duval 4106e3f146 kernel/x86: rework get_frequency_for
we don't sample if the last sample is too recent and use the cached result.

Change-Id: I17ed29bda7fe7276f1a4148b3e1985c9d32ae032
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4101
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-22 07:21:04 +00:00
Jérôme Duval 7c2c355f17 kernel: add frequency in cpu_info
use this in sysinfo.

Change-Id: I270ef1ab18c27c4804cb0cca2cb5088a17162636
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3214
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-22 07:20:25 +00:00
David Karoly f265ecf8f7 Update gcc_bootstrap package for ARM
Change-Id: Iadef37c218f46b1f809a7c6405ebfc6a73cda20b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4726
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-20 12:59:28 +00:00
Rudolf Cornelissen 18bb9a28a6 intel_extreme: testing skylake mobile ticket #15516 2021-11-20 14:31:07 +00:00
Augustin Cavalier 10e35b7aae RTFTranslator: Free run_array using FreeRunArray.
This is more correct.
2021-11-19 19:38:11 -05:00
Augustin Cavalier 1cb5cfb244 libroot_build: Use a union for dirent structures.
Same fixe as applied to the rest of the Storage Kit a few commits ago.
2021-11-18 16:43:57 -05:00
Augustin Cavalier d9df256704 FUSEVolume: Add a ROUNDUP() macro and use it.
No functional change intended, but this should make the code
easier to read.
2021-11-18 16:35:31 -05:00
Augustin Cavalier afcfd3c5d5 BeBuild: Remove B_ALWAYS_INLINE.
This file should ideally contain only those things needed
across all system headers, even POSIX ones, and all other
declarations (B_* ones especially) should go in SupportDefs.h.
However, as nothing but riscv64 uses this right now, I've just
moved it to there.
2021-11-18 16:35:05 -05:00
Augustin Cavalier 7db2616c44 dirent: Use an actual flexible-length array for d_name.
GCC 11 treats [1] as a fixed-length array and not a flexible-length
array, and so some things that used direct strcmp("..", ent->d_name),
for instance, would be optimized out as being always unequal,
which was the cause of #17389. Using a real FLA informs GCC that
there is going to be more than one byte of data, and thus this
fixes that bug.

BeOS used [1] and not [0], possibly because it had to deal with
compilers (MetroWerks? Early GCC2?) that did not support FLAs.
GCC 2.95 does, using [0], and GCC 4 does, using [], so we can go
with that here.

(I did try using [0] for both, which seems to be OK with GCC 11,
but GCC 8 throws errors when d_name is dereferenced directly
as being-out-of-bounds. So, we have to use the #if here and give
newer GCC the [] syntax and not [0] to avoid that problem.)

The real question probably is whether or not we should backport
some variant of these changes to R1/beta3, as software at HaikuPorts
very well may run in to the same issue. (The alternative workaround
is to compile with -O1 and not -O2 for any affected software.) But
maybe this is an argument for keeping with the beta4 schedule of
this coming January...
2021-11-18 16:34:03 -05:00
Augustin Cavalier 9d242fb955 file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name.
At present, it does, but that is an oddity we have preserved from BeOS
that the next commit is going to remove. (This commit thus wastes 1 byte
without the following one.)

Most changes are pretty straightforward: only a +1 is needed,
and a few removed from sizing calculations. Some filesystems like UDF
originally passed back the length with the \0 included, so they have
been adjusted further. UFS2 had some other sizing problems which are also
corrected in this commit.
2021-11-18 16:24:04 -05:00
Augustin Cavalier 8f03af00f8 Storage: Rework LongDirEntry to be a union.
Our dirent structure is "slim": it has a flexible-length array at the
end which must be allocated to whatever size the consumer wants. However,
we use [1] there and not [0] or [], which meant GCC thought it was not
a flexible-length array, and so it optimized various string accesses
that it assumed must be always false. Among these was BDirectory's
check for "." and "..", and so that resulted in infinite loops.

When changing our dirent structure to a proper FLA instead of [1],
GCC then throws errors on LongDirEntry as it has data "after" the
FLA; which is what we want, but there is no way to tell GCC that.
So now we use a union instead, which is the proper way to statically
allocate a FLA.

This is part of #17389, but the real fix requires changing our dirent
structure, which is coming in a separate commit.
2021-11-18 16:00:23 -05:00
Augustin Cavalier 9cc1718212 libbe_build: Fix build on non-Haiku platforms.
Probably should have tested that before pushing.
2021-11-18 15:42:17 -05:00
Augustin Cavalier ec21dc91b1 libbe_build: Synchronize Directory.cpp with the main one.
The set_dir_fd code appears to be libbe_build specific, so that
and accompanying logic is preserved.
2021-11-18 12:13:47 -05:00
Augustin Cavalier 28c8a16a5a libbe_build: Synchronize Node.cpp with the main one.
Mostly formatting changes with a few minor bugfixes it appears.
2021-11-18 11:18:49 -05:00
Augustin Cavalier a7639d2389 libroot_debug: Add aligned_alloc implementation.
Fixes #17407.
2021-11-18 11:14:53 -05:00
Augustin Cavalier cf5edc8448 accelerants: Add default case for xy_command initialization.
Silences a GCC 11 warning.
2021-11-17 21:10:30 -05:00
Augustin Cavalier 52f87edca5 Time: operator() on the comparator structure must be const.
The STL seems to require it, but before GCC 11 that may not
have been properly enforced.
2021-11-17 21:10:05 -05:00
Augustin Cavalier 91a0b53040 HaikuDepot: Do not inadvertently modify the real errno.
Found by GCC 11 warnings.
2021-11-17 21:09:31 -05:00
Augustin Cavalier eeddcfffbe accelerants: Fix mismatched prototypes.
Found by GCC 11.
2021-11-17 21:09:10 -05:00
Augustin Cavalier f35fc7ebda Remove some dynamic exception specifiers.
GCC 11 does not like them, and GCC 2 does not seem to care.
2021-11-17 21:08:49 -05:00
Augustin Cavalier e4f18add74 Game & Print Kits: Fix GCC 11 warnings. 2021-11-17 18:45:58 -05:00
Augustin Cavalier f7338bb6a0 Media Kit: Fix/appease various GCC 11 warnings. 2021-11-17 18:45:35 -05:00
Augustin Cavalier 181529ce0c bsd/err.c: Upgrade to a newer version from FreeBSD.
* 3-clause BSD instead of 4-clause BSD
 * C89 compliance instead of K&R C, needed for GCC 11
2021-11-17 14:01:20 -05:00
Augustin Cavalier afc04c50e5 kernel/debug: Add initialization to appease -Wmaybe-uninitialized. 2021-11-17 14:00:48 -05:00
Augustin Cavalier 44e3766be5 app_server: Add casts to appease GCC 11 -Wclass-memaccess. 2021-11-17 14:00:10 -05:00
Augustin Cavalier 46c49135a0 kernel: Add aligned_alloc implementation.
Needed by default with GCC 11.
2021-11-17 13:58:43 -05:00
Augustin Cavalier 7ec1bedeed features.h: Define _DEFAULT_SOURCE when _GNU_SOURCE is defined.
As suggested by PulkoMandy. This was done before my commits yesterday,
but those just reverted patches that had only been in since May,
so it's not clear how much this is actually needed. Nonetheless
it seems like the more correct thing to do.
2021-11-17 13:55:50 -05:00
Augustin Cavalier 573b7b1f21 ArchitectureRules: Temporarily disable -Wno-error that GCC 8 does not like. 2021-11-16 22:48:40 -05:00
Augustin Cavalier e7952d44d5 BColumnListView: Add initializations to silence -Wmaybe-uninitialized. 2021-11-16 19:05:52 -05:00
Augustin Cavalier d1035d48e6 ColorConversion: Add cast to silence -Wclass-memaccess. 2021-11-16 19:05:14 -05:00
Augustin Cavalier 1e541d3127 stdlib.h: Remove guards around aligned_alloc.
While FreeBSD and glibc feature-guard it, they also feature-guard
a lot of other things that we don't, and musl does not guard it,
so it seems more than safe enough to leave it unguarded.

Fixes compilation errors with GCC 11. (The other possible solution
was including features.h in more places, but this seems simpler.)
2021-11-16 15:13:29 -05:00
Augustin Cavalier 3bdd837e4e BeBuild: Expand compatibility to GCC 12.
Since we are currently in the process of upgrading to GCC 11, it makes
sense to change this header before we actually need to.
2021-11-16 15:12:58 -05:00
Augustin Cavalier 68a13ed5c3 features.h: Clean up ISOC11 definitions.
* Do not define it merely when _GNU_SOURCE is defined, that is not needed.
 * Scale back __cplusplus check to 201103L, just like the BSDs do.
2021-11-16 15:11:44 -05:00
Augustin Cavalier 38dc3bf2c5 ArchitectureRules: Add two new -Wno-error flags.
The use of the "register" keyword is harmless, though we should eventually
remove it.

Taking addresses of packed members is "mostly harmless" on x86 where
unaligned accesses are OK. It's less harmless on other architectures,
but we sometimes use packed structures when manually aligning things.
Unfortunately GCC throws this warning even when the actual pointer would
be aligned, not merely when it's unaligned, making the warning far too
noisy and not really that useful.

"Found" by GCC 11.
2021-11-16 15:10:05 -05:00
Rudolf Cornelissen ae7d733d42 intel_extreme: skylake/DDI. all displays can set resolution now, no refresh on digital panels yet (DPLL still missing) 2021-11-16 00:39:49 +00:00
Augustin Cavalier f11e13144d ntfs: Set abs_mnt_point to a non-NULL string.
It seems lowntfs and libntfs-3g kind of assume there is something in here.
This may result in broken links, but that's better than crashing.

Should fix #17400.
2021-11-14 19:13:42 -05:00
Rudolf Cornelissen 0eb2bf0e66 intel_extreme: skylake/DDI improvements. no resolution changing possible yet (missing DPLL code yet) 2021-11-14 23:16:44 +00:00
Augustin Cavalier a82616528d ntfs: Return better errors and handle volumes without names.
Should fix #17390.

Change-Id: I8db797b29c70b452e98ebadc6825dba7626ad2ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4724
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-13 17:29:23 +00:00
Adrien Destugues d4e4909c6a Jamfile engine: move to a separate repository
It is now at https://review.haiku-os.org/admin/repos/jamfile-engine

This was added in the Haiku repository in the intent of adding it to
release images, a long time ago. Now with the packaging system in place,
there is no reason to host it in the main repo anymore (and it was never
actually packaged anyway).

I also added a recipe at haikuports for it.

Fixes #5360.

Change-Id: I4f2a1529cbadf7af8a16025c30a1332108475807
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4720
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-11 14:18:04 +00:00
Jérôme Duval cdd2ed5a77 kernel/x86: CPUID leaf 0x1f is a preferred superset to leaf 0x0b
Intel recommends first checking for the existence of CPUID leaf 1FH before using leaf 0BH.

Change-Id: Iba677186521e086fa06bcc4fe42eaed4ba030e6d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4719
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-11 07:53:23 +00:00
Adrien Destugues cb3199681e UDP: apply review comments from hrev51603
I found this at the bottom of my TODO list…

- UdpDomainSupport methods were referring to the object through a static
  variable when they could just use the "this" object instead.
- Use BAutoDeleter to simplify the code a little
- Style problem (missing != NULL in pointer check)
- Move referencing of domainSupport in _GetDomainSupport instead of
  OpenEndpoint. This way the two _GetDomainSupport methods both return
  an already referenced object

Thanks to Axel for the code review and sorry for the super late reply.

Change-Id: Ic50ebb1a63a203d5aa393d28f4631c345acacc79
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3908
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-10 07:59:07 +00:00
Augustin Cavalier 049eb4cb89 libroot/os: Remove B_CLONEABLE_AREA protection check.
Due to how API versions work, it seems this flag is still applied
on a lot of applications, as some have some rather old API versions
(actually API versions themselves may not be working quite right, to boot.)

All relevant software should have had a chance to be recompiled on
or after beta2, so we reduce the flag's automatic application back
just to BeOS applications.
2021-11-09 19:27:39 -05:00
Augustin Cavalier 913373053f ntfs: Prevent moving directories into themselves (even indirectly.)
libntfs does not check for this.
2021-11-09 19:24:42 -05:00
Augustin Cavalier bef774d30c libntfs: Add assertion that the entry is not already in the cache.
There is a big scary warning about this, but no code actually checks for it.
This would have saved me some time in development...
2021-11-09 17:56:34 -05:00
Alexander von Gluck IV 4a025c8e74 libroot: revert __clz_tab change. Didn't mean to put that in yet
Change-Id: I6c4eea2de5778749e4894ea5d1d12e8403e538da
2021-11-09 16:41:21 -06:00
X512 ec8a8f1c02 libroot/riscv64: minor riscv64 fixes
Change-Id: I96b604aabe18307d7376473b8d9cd50eccb537d1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4709
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-11-09 22:34:35 +00:00
Augustin Cavalier 5070f59750 ntfs: New driver glue, write support.
Change-Id: I7f7b1e1a85b2f966209437aa99b536d00623bc03
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4696
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-09 22:22:13 +00:00
Augustin Cavalier 3fbe39e14d ntfs: New driver glue (read support only.)
* Add some things to config.h for C++ friendliness.

 * Import some more GPL code from libntfs into lowntfs.c,
   in order to avoid reimplementing it (or copying & pasting,
   which would probably make all the glue code GPL.)

 * Write an entirely new kernel_interface.cpp, modeled after exfat's
   and other newer filesystem drivers. Highlights:
   - significant use of C++ RAII objects
   - entry_cache support
   - file_cache support (thus also read_pages)
   - readdir of multiple dirents at once

Most NTFS tickets open at present are related to write support,
and this does not yet have that. It should however be considered
a part of #17165.

Change-Id: I6d5aa53d4d06846b0de5e6ce1431219bf70a6f2c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4679
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-09 22:22:13 +00:00
Augustin Cavalier 30461842be ntfs: Delete the old glue driver.
It originated on BeOS, and still retains a number of relics of that.
It did not support the file cache, it was rather slow on large disks,
and it had incorrect unlink behavior (delete immediately rather than
on vnode close.) It also is C, not C++.

libntfs-3g has also undergone significant changes in the time since
this driver was written, and it also has a "low level" FUSE module
that we can reuse a lot more code from, so a new driver will be
able to shed a lot of code and use more from upstream directly.
That is coming in the next commits.

Change-Id: Id6f8f8f85076dda92b289ef5a2f1ca6cd484f3e5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4678
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-09 22:22:13 +00:00
Augustin Cavalier 9102cad62b ntfs: Update NTFS-3G to 2021.8.22.
Things seem to still work OK ... insofar as they ever did.

Change-Id: I32ba3c71c27106558092fee636f135f477f1cf36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4677
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-09 22:22:13 +00:00
Augustin Cavalier ee4b6bdfa1 Storage: Initialize stat structure before using it.
Normally we are only reading or writing from one field in the stat,
and so we do not need to worry about initializing the others. However,
in the case of timestamps, we use only the "tv_sec" field, and so
the "tv_nsec" field was getting passed to filesystem drivers with
bogus data (on x86_64 at least, very large values.)

This went largely unnoticed, despite being used in every Tracker copy
operation, because BFS only uses the lower bits of tv_nsec.
But NTFS and others use the whole field, leading to timestamps
far in the future.

This may fix some of the issues on the bugtracker about timestamp
problems in filesystems other than BFS (and slight inaccuracies in
BFS timestamps on copies, too.)

Change-Id: I5fdbd264fb145af57b7bf2f7b491c6943024811e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4707
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-09 21:46:31 +00:00
Fredrik Holmqvist e6f4113978 [arm64] Set march to armv8.2-a+fp16, fix posix math
The march can be reduces later if needed.

Use arm64 optimized math, and set std=c11 so
__FLT_EVAL_METHOD__ is 0 and not 16:
https://gcc.gnu.org/bugzilla//show_bug.cgi?id=100854
2021-11-09 21:59:31 +01:00
Coldfirex 2ca1376080 Mass updating of OpenBeOS text to Haiku
No functional code altered.

https://dev.haiku-os.org/ticket/17197

Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-07 10:00:35 +00:00
Alexander von Gluck IV a80813fdd1 qemu/riscv64: Misc fixups for qemu
* Disable overly verbose PCI IO access
* Add ati to riscv64 minimum image for qemu
* Update qemu test script with "best" gpu settings
  for the moment

Change-Id: I5d16ace0f8589f8b17cc50c7a1db04266907269f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4699
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-07 09:58:15 +00:00
Alexander von Gluck IV 4b5c7fe7e1 system/boot: add optional alignment to kernel_args_malloc
* A few things need alignment, instead of forcing them all
  to align themselves, support alignment of the kernel_args
* Default of 1 is "no alignment"

Change-Id: Iff05dcec8adaa963c8444d701464ea11616062f6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4698
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-07 09:58:15 +00:00
Alexander von Gluck IV c9d6d52b03 libfdt: Upgrade to 1.6.1 plus a few commits
* Catch errors and report them in bus parsing code
* Align the FDT kernel_arg to 8-bytes
* we still choose BSD-2-clause :-)

Change-Id: If2a88b7f131025ff1c1a2d903ed52f039e5bbcb5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4694
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-11-07 09:58:15 +00:00
Jérôme Duval f78b75b15d Terminal: handle color queries
this allows apps like vim to select a color scheme based on a dark or light background.

Change-Id: Ia9f98d2373523a8b5fa379225a1c906ae075edf7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4693
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-11-06 17:34:48 +00:00
Jérôme Duval fe3e5f05a1 Terminal: accept more notations for colors
Change-Id: Iaf6008305de8ef0111f7006e36da507d40c8a47a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4688
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-11-06 17:34:48 +00:00
David Karoly 65aab788e6 kernel/arch/arm/int: add irq postlude
Change-Id: If3dcd2f7d3c0385ecc699b4de4359a14a189fff0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4673
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-11-06 09:56:00 +00:00
Alexander von Gluck IV c892801f83 platforms/u-boot,platforms/riscv: Fix boot_fdt after hrev55618
Change-Id: I49579b206ba4d6a83e0e3a557fc5d4bad6a1a886
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4695
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-05 20:28:49 +00:00
David Karoly acf8592e82 build: don't use regular TARGET_*_FLAGS for .S files in bootloader
This is one more change to prepare for the transition to soft-float for the ARM EFI bootloader.
We need this change to remove the kernel compiler flags from .S files for the bootloader. Otherwise there would be hard-float and soft-float flags at the same time, giving a compile error.

Change-Id: I0b66c3c16937228eb76351e359160187d3ab826b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4690
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-11-05 19:49:08 +00:00
Alexander von Gluck IV 93c8529475 boot/zstd: prevent weak symbols from sneaking in
* Prevents proper boot on riscv64, maybe others

Change-Id: I2f25b238d5e3c29dd57ef67a6d960de0fc80c205
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4692
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-05 19:45:39 +00:00
David Karoly 7f6f87d29d boot/efi: build boot_fdt.a with boot compiler flags
Change-Id: I698019697d1c3bcf1e913316cfd6c0dcab65d4e3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4689
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-05 16:21:46 +00:00
David Karoly 24c1b1812c boot/arch/arm: use generic memcpy
Change-Id: I1816b4cf696cc19b94618f7e3b690895ccf4479c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4691
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-05 15:55:55 +00:00
David Karoly 2ab17547fa kernel/arch/arm/paging: set size and alignment for page directory
Change-Id: Ie3aa80c134c8b519005f7e52c51c7696f26bd49d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4672
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-11-05 15:38:10 +00:00
David Karoly 95424a7096 Update HaikuPortsCross package versions for ARM
Change-Id: I918829e69bc92f295720f884f724a19dc4fe3d46
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4684
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-11-05 14:55:18 +00:00
Humdinger 1621d71af8 Fix typo in API docs (BBitmap)
Found by Scottmc.

Change-Id: Idd10040d798533a0aa731132f7282e7ce1423ed6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4687
Reviewed-by: humdinger <humdingerb@gmail.com>
2021-11-04 16:15:34 +00:00
Alexander von Gluck IV 87f2b35395 Revert "artwork/promotion: Add promotional CD/DVD designs"
* Ugh. Just realized we have a seperate artwork repo. Moving there.
* Sorry for spam.

This reverts commit 9714475c39.
2021-11-04 09:23:27 -05:00
Alexander von Gluck IV 9714475c39 artwork/promotion: Add promotional CD/DVD designs
* These are reproductions of the original 2012 R1/Beta4 design
* The light variant works better on my consumer cd printer.
* The dark variant looks better, but is better suited for
  professional cd pressing services.
* I'm releasing these as MIT to be clear

Change-Id: Ibd5248fc7248de6697dd65e8ccae1ba1ae623702
2021-11-04 09:18:28 -05:00
Jérôme Duval 91e93cb7c4 Terminal: handle cursor-color
Change-Id: I73071880c84c713ee3efec40f6ac824364157b83
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4685
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-11-04 06:46:01 +00:00
Alexander von Gluck IV 38eb9fb0eb boot/ppc: Cleanup paths, use hfs vs hfsplus
* Move assets to new boot directory
* -hfsplus not valid anymore on cdrtools 3.02
* Throw down some forth I saw in an *old* fedora 12
  chrp script.  If we ever target ppc64 it might be
  handy someday. The text output also lets you know
  the cd booted successfully.

Change-Id: I169d887fe8373de1719b98305d01b714f6f6bcbe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4681
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2021-11-03 13:58:48 +00:00
Alexander von Gluck IV af222f6e31 kernel/ppc: Fix missing symbols after hrev55605
* Stubs for now with todo's matching sparc port

Change-Id: Ie1c0ea523e26fd16066acb26dd83735b89800f31
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4680
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-11-03 13:58:48 +00:00
Murai Takashi f5b37553ec lgtm.yml: update prerequisite software
Change-Id: I3f6e1446d7fcd2256c0bc8fa982605ea1501fa6a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4683
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-11-03 11:48:19 +00:00
Rudolf Cornelissen 661732341f intel_extreme: haswell and skylake DDI EDID support added, modesetting not finished yet. 2021-11-02 20:04:37 +00:00
Adrien Destugues 3457006a9a WebPositive: fix linking with static libraries
Some symbols were available because they were reexported by haikuwebkit
1.8.2, but they won't be exported anymore in the next releases. So we
need to link to libnetservices.a directly, and link to it before the .so
files to make sure the symbols from the static library are used.
2021-11-01 18:15:00 +01:00
David Karoly 264451d95a kernel: fix loading kernel add-ons on arm
Change-Id: I60cc1c1aa9d4298453aece0456ce7ee74fc95a34
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4659
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-10-31 18:03:59 +00:00
PulkoMandy c00a982d2a kernel: do not allow undefined symbols
If there are undefined symbols, we can't load the kernel (the bootloader
complains about missing relocations). It makes sense to not allow that
at compile time.

Change-Id: I430bebada16544ffa8be293cd6c075338970d8ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4668
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-31 15:28:05 +00:00
PulkoMandy f240512a53 sparc: add more relocation types
Change-Id: I32be0b466bfcd1d3b481eea25e96d485658be0a0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4676
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-31 15:28:05 +00:00
Rudolf Cornelissen e8e44117c8 intel_extreme: probe EDID again so DDI will fail restoring screen on some systems (workaround) 2021-10-31 12:21:28 +00:00
Rudolf Cornelissen 721918869c accelerants common: fix crash on x86 i2c tracing 2021-10-31 00:45:52 +00:00
Augustin Cavalier 7d41530f62 openfirmware: Refactor console implementation following bootloader changes.
Confirmed working on sparc

Change-Id: I60bf82978ccf967e7e10611f6360cadccf22d15d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4667
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-28 20:06:38 +00:00
David Karoly 9aba9395e7 boot/efi: fix alignment exception on arm
Change-Id: I8384433c4bed474c3cb82bc8451ecde9a47bcff8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4656
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-28 11:07:50 +00:00
David Karoly c8e72ef924 kernel/arch/arm/paging: ARMVMTranslationMap32Bit::QueryInterrupt shall return page start address
Change-Id: I8949518c563b367b8b84f3728ae1e923e49044ba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4666
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-28 11:06:40 +00:00
Augustin Cavalier 52f94eb19e nvme_disk: Add missing checks in the case where there is only one iovec.
May fix the remaining KDL in #16973.
2021-10-27 14:54:02 -04:00
Augustin Cavalier 535b7dc9d3 nvme_disk: Include smp.h.
It is implicitly included on x86_64, but apparently not elsewhere.
Also fix a format warning.
2021-10-27 14:02:01 -04:00
Augustin Cavalier 9bc2885cd4 nvme_disk: Allocate and utilize qpairs based on how many CPUs we have.
This replaces the previous round-robin system. It should reduce
lock contention on multi-core systems, with potential other
benefits depending on drive behavior.

FreeBSD's NVMe driver does basically the same thing.
2021-10-27 13:38:28 -04:00
Augustin Cavalier 18851359d0 nvme_disk: Add the block size and count to the syslog output upon opening devices.
Since we do not entirely go through DMAResource, these numbers can
be relevant in diagnosing problems from tickets.
2021-10-27 12:59:00 -04:00
Augustin Cavalier 5250914df7 nvme_disk: Remove redundant check.
If the address % pagesize == 0, then clearly it is also aligned
on 32 bits, and we do not need to check & 0x3.
2021-10-27 12:41:26 -04:00
Augustin Cavalier dab646ac9a nvme_disk & virtio_block: Remove unneeded log2.
It was used, but then the result discarded. We have a log2()
in kernel/util/BitUtils.h anyway, so if it is really needed,
that should be used instead.
2021-10-27 12:40:31 -04:00
Augustin Cavalier 6bef34f853 launch/user: Put env in both target desktop and service app_server.
It seems launch_daemon does not actually support root "env"s,
and adding support for that does not appear to be trivial.
2021-10-27 12:33:51 -04:00
Adrien Destugues 4492fde7bf intel_extreme: reduce use of display_mode where display_timing is enough
In most cases we don't need to use the complete display_mode struct and
we just need the timings. This will avoid future confusion between the
virtual width/height and the actual display timings, if we implement
scrolling someday.

Change-Id: I6c4430b84130b956a47ea0a01afb0843f5a34fd2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4665
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-27 14:33:46 +00:00
Adrien Destugues 0cabd8891f intel_extreme: fix regression introduced in hrev55419.
Apparently my comment about the width and height being swapped in this
register was not visible enough, so I make it a bit more obvious by
adding some uppercase.

Change-Id: I27621032d071ed09f82aa109f37482178351db04
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4664
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-27 14:33:46 +00:00
David Karoly a1f7cb5d4e ldscripts/arm/kernel: discard exidx sections
Change-Id: I88523e1efc3968828df588c2fdad8d7eb1a531c7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4662
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-27 07:25:45 +00:00
Andrew Lindesay 0d4fa3e526 HaikuDepot: Show Publish Date
Add a column to the table to show the publish
date.  Also add text on the featured packages
view to show the publish date.  Supports
sorting.

Fixes #13006

Change-Id: I19d9bc5bf7f44b5673c2ade5d00de8fdadbe1b06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4649
Reviewed-by: humdinger <humdingerb@gmail.com>
Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-27 05:27:53 +00:00
Alexander von Gluck IV 491592688d system/boot: Fix build of bootloader without zstd build-package
Change-Id: I39b52def6892f77f5b3b1c088b01459b689c80e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4648
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-26 22:13:45 +00:00
Augustin Cavalier 1d5de1d840 Remove firmware licenses that now are in their own packages. 2021-10-26 17:54:58 -04:00
Augustin Cavalier 4acd233580 Package Kit: Scale compression levels to the method's levels.
Zlib has (for now?) 1-9 as its compression levels, but Zstd has
1-22, so we need to scale and round based on *_COMPRESSION_LEVEL_BEST.
2021-10-26 16:51:09 -04:00
Augustin Cavalier a89813083e ZstdCompressionAlgorithm: 22 is now "best" in libzstd.
Ideally we would use ZSTD_MAX_CLEVEL, but we cannot use zstd headers
in here...
2021-10-26 16:47:50 -04:00
Augustin Cavalier fd276f19fe package command: -z now takes an argument to specify the compression method.
The upcoming change to use zstd by default will make the -z no-argument
variant obsolete, so instead we need to support passing "zstd" or "zlib"
to actually indicate the compression method we want to use.
2021-10-26 16:24:22 -04:00
Augustin Cavalier fd7438acec package command: Remove duplicate code in recompress. 2021-10-26 16:24:22 -04:00
Augustin Cavalier 04a7f3ede0 package command: De-wrap help lines.
Now that the coding style limit is 100. Slight tweaks as well.
2021-10-26 16:24:22 -04:00
Augustin Cavalier 3d4e153c9f libbe_build: Compile with support for Zstd.
This way, the build package commands will be able to deal with
and create Zstd-compressed packages.
2021-10-26 16:24:22 -04:00
Augustin Cavalier 0cf34918bf Remove ZSTD_ENABLED checks from the Package Kit.
BZstdCompressionAlgorithm already has these #ifdefs and will
return error codes appropriately if built without libzstd,
so we do not need to check again inside the Package Kit.

This should not break the no-zstd build (well, it is broken
somewhat right now anyway, but this will not break it further),
and it simplifies logic somewhat.
2021-10-26 16:24:22 -04:00
Augustin Cavalier a04b2f4c5e Launch app_server in user context.
This way, we get the user's environment variables, and so should
input_server, which is started by app_server.

This should, after 6 years, fix #12534. We may need to revisit this
when/if we add multiuser support, but that is a problem for another day.

Change-Id: I04698306bc68a585acd232e9f9d29c50bc170a1f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4506
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-26 19:20:53 +00:00
Augustin Cavalier b69c9008dd nvme_disk: Re-enable MSI-X.
It now works in QEMU, probably following the addition of 64-bit
address support in hrev55542.
2021-10-26 14:17:43 -04:00
Augustin Cavalier 9710cdc6b3 nvme_disk: Move interrupt initialization to before qpair allocation.
At least QEMU's emulated controller seems to expect this.
2021-10-26 14:14:45 -04:00
Jessica Hamilton 69958ca2ef hda: subsystem is from the codec, not the PCI bus.
* Refactors so that we look for a codec subsystem ID, then the
  Audio Function Group subsystem ID if not found.
* Moves the order around a bit so that the quirks are set early
  enough.
* Also adds a quirk for MacBookAir 6,2, allows speakers to work.

Change-Id: I4c64f96936a82a5d7187d86d8558f28516fd4ecb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4654
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-24 09:58:55 +00:00
David Karoly b594d76c81 boot/efi: use ROUNDUP for aligning the page directory
Change-Id: Ib52ca83cbc390f2e450c174741ed24e745fb7eab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4655
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-24 09:05:47 +00:00
David Karoly 5ac73692f2 boot/efi: better logging for system memory map
Change-Id: Ie35061f5c80f8b82071bbbf6fdaa006aca50a8a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4651
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-24 09:04:55 +00:00
David Karoly 286a9c991c kernel/arch/arm/paging: ARMVMTranslationMap32Bit::Query shall return page start address
Change-Id: Ibe95f8808bc052c31765f055bef1daf0aa1eac6d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4652
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-24 09:04:29 +00:00
David Karoly b05be77d78 kernel/scheduler: fix compile error when TRACE is enabled
Change-Id: I95da18c9faa343fb3a44c627c1227a778701ebbe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4653
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-24 09:04:19 +00:00
Augustin Cavalier 7da3d33132 ipro100: Check interrupt status in HAIKU_CHECK_DISABLE_INTERRUPTS.
This should make ipro100 behave better on shared IRQ lines.

Should fix #17349.
2021-10-23 13:51:06 -04:00
Augustin Cavalier 91337da63b freebsd_network: Avoid using kernel thread structures in priv_check.
We can just use geteuid() here which does the exact same thing.
May help with testing #17337.
2021-10-23 13:16:36 -04:00
Rudolf Cornelissen 994794f2d4 intel extreme: skylake sets color, base and address, no resolution and refresh yet 2021-10-23 17:13:43 +00:00
Autocomitter 393c7b8b5c Update translations from Pootle 2021-10-23 08:45:35 +00:00
Augustin Cavalier 778706215d app_server: Drop gfxcpy and implement some TODOs about checking for graphics memory.
We still do not know if the accelerant buffers are graphics memory or not,
but in my testing (on the VESA driver), the only time I could get _CopyRect
to be called was where the buffer was in fact not graphics memory.
So that should provide a performance improvement there.

On the other end of things, this should resolve unaligned video memory
access problems on RISCV, and potentially other platforms, as gfxcpy32
did not attempt to align pointers; it should also improve performance
as memcpy will usually be faster than our custom gfxcpy here.

Most of this code has not been touched since 2006 or so.

Change-Id: I40b0345c5d47f2b45acafb14f03fd3a24d2042a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4315
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-23 00:40:53 +00:00
Augustin Cavalier b419a79f8f app_server: Remove IsDoubleBuffered() default implementation from HWInterface.
It just causes confusion and is wrong in the case where double buffering
status changed during the object lifetime.

Change-Id: Ia1a9ae3f5a1b1b7d521b79c7d1c7be92cef60a06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4633
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 21:05:35 +00:00
Augustin Cavalier f638102196 Remove conditions for HOST_PLATFORM=msys.
It never really worked beyond the most basic of commands
and required a lot of hacks, and these days WSL should be used instead.
2021-10-22 17:03:44 -04:00
Augustin Cavalier b6a6890f4c termcap: Remove.
It was removed from the build in the last commit.
2021-10-22 16:43:14 -04:00
Augustin Cavalier 87bdb69ccf Remove termcap from the build.
libtermcap was deprecated in favor of terminfo in 2013; the library was
removed then, and this file was only left because not all optional
packages had yet been rebuilt against ncurses. Well, that has now
long been completed, and indeed all applications continue to function
even after removing /etc/termcap.

In case any legacy applications that I have missed still do need it,
it should be provided by HaikuPorts and not Haiku itself.
2021-10-22 16:43:01 -04:00
PulkoMandy d1ecc0955f sparc docs: write down some more useful things
These are better here than in my bash history...

Change-Id: Iab8940f4efed950e26a8bad29cb8954464270e8f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4645
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 20:23:01 +00:00
PulkoMandy 6711cd9e9e bootloader: reduce stack usage
On Sparc Openboot, we get allocated a stack of only 8 kilobytes, and
each called function costs at least 176 bytes for the stack frame.

This means we need to be more careful than usual about stack usage. Move
some large-ish allocations off the stack by either making them static,
or allocated dynamically.

Add a compiler flag to error on functions which use too much stack. The
threshold is at 1023 bytes, because that's what allowed me to find the
two functions that were causing a stack overflow (open_from and
_ParseActivatedPackagesFile)

Change-Id: Ia0d13a9247e1a3fff4ce654bdffd6edb16e7cbc7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2371
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 20:23:01 +00:00
PulkoMandy a9fed72b4b sparc: add arch-specific libroot stubs
These are helper functions for long double math. On sparc there is no
hardware implementation of long double instructions, and the ABI defines
these methods which must be part of the C library. GCC calls the methods
directly in its generated code.

They were already added to libroot, but they also need to be in the
stub, which is used during bootstrapping to link mpfr (during the
target gcc build).

I put these in a separate file because I assume the generation of the
stubs file from the real libroot.so will usually not be run on sparc,
and will not include these symbols otherwise. This may become a problem
if libroot for different architectures starts to diverge further.

Change-Id: I6070394c685fee35b3dc12a507f5a6271571b993
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4636
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 20:23:01 +00:00
Augustin Cavalier e8ab10abd6 Fix return type of video_text_console_init. 2021-10-22 15:10:53 -04:00
Augustin Cavalier 5f682fd08d EFI: Add (disabled, partially broken) support for video_text_console usage.
See inline comments.

Change-Id: I7eaa5888b63aecaa582fe00f796b2f3f3c8be203
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4644
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 19:02:06 +00:00
Augustin Cavalier 4c73f34840 bootloader video_text_console: Refactor into the new ConsoleNode model.
Change-Id: I3dc59cbdfd28f1ada49b02e42d50ec2b52c40227
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4643
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 19:02:06 +00:00
Augustin Cavalier 5e43707307 bootloader: Refactor console functions into the VFS ConsoleNode class.
This way it becomes much easier to write multiple console implementations
in one bootloader.

Tested for bios_ia32 and efi.

Change-Id: I67134f5c3de109b15d46898864ba7f51c6592afc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4642
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 19:02:06 +00:00
John Scipione f6f9c751d6 Remove trailing whitespace from hid_shared
Introduced in https://review.haiku-os.org/c/haiku/+/4403

366e9a62e9 => hrev55413

This is a whitespace only change, no functional changes.
2021-10-22 11:12:24 -04:00
Augustin Cavalier 0d66d8d486 boot_loader: Add a video_text_console for potential use by bootloaders.
This uses the frame buffer console that KDL uses. It needs some work,
though, as the frame_buffer_console colors system is not quite compatible.
2021-10-22 10:43:27 -04:00
Augustin Cavalier c80ba94c64 boot/arch: Remove kernel_stubs.cpp and frame_buffer_console.
They were never used anywhere.
2021-10-22 10:43:27 -04:00
PulkoMandy 2adb6e18db sparc: update haikuportscross to current state of repository
Most importantly include zstd, which is a new requirement for the
bootstrap build.

Change-Id: I981401e7d70fb7e1befaf7fc37f2fddc6d7e327d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4635
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 13:59:19 +00:00
PulkoMandy 60533c0e15 remove libicutu from icu build feature
This is an internal ICU library, used by their command line tools only.
libbe (or anything in Haiku sources) does not need to link to it.

Change-Id: Id322572c6833c225d5501a7e9520dd3dc82934f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4634
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 13:59:19 +00:00
David Karoly 375c212924 kernel/arch/arm/paging: fix a few typos
Change-Id: Ia6c51f1d24f5a365564f127199df898c5531f274
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4640
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-22 12:02:27 +00:00
David Karoly 09e797786e virtio-mmio: fix compile error when TRACE is enabled
Change-Id: I8ac0497f8aa26e9e2b843c34771b83ca9baaa6d5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4641
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-22 12:01:43 +00:00
David Karoly 4d81ddab4f boot/efi: initialize mmu for arm
Change-Id: I918a459dfb4e5d0864ae4c8b806df059248d43b6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4630
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-22 11:22:10 +00:00
David Karoly d88e69ae11 boot/efi: generate page tables for arm
Change-Id: I975048d7721efc0557d60d27ddf5bd5296aa9e51
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4632
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-22 11:21:02 +00:00
David Karoly e6520f9064 boot/efi: generate memory map for arm
Change-Id: I02a7f8c27187f6375dd4deeeaf3587dad1e3349c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4631
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-22 08:42:04 +00:00
John Scipione 02ad92185d Network: Sort network menu items w/o deleting
* Delete dropped out networks.
* Add in newly discovered networks.
* Add static (aka class) compare method to WirelessNetworkMenuItem
  that is used to sort items by signal strength descending.

Add == operator to wireless_network struct to determine if
existing items have a known network attached.

Remove the non-network items from the menu, save them, sort
network menu items, then add non-network items back into the
menu.

Update NetworkStatus preflet to use same compare method as Network
preflet. signal_strength_compare function had a bool return value
instead of int which worked to sort items the first time, but does
not work on successive compares.

By not deleting and recreating the menu items each Pulse(),
the Network preflet no longer crashes on update. The menu flashes
on update still but doesn't crash.

Fixes #12024

Change-Id: Ie5b22cea4e66350b9c5df8e3b8de266ede50ad6d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4243
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2021-10-22 08:12:05 +00:00
John Scipione 0a53cbb3b9 BMenu: Add SortItems(), SwapItems() and MoveItem()
... methods which call the respective methods in BList.

These convinience methods allow you to sort a menu of menu items
via a compare function, swap two menu items, or move a menu item
to a new index. Update items layout if menu is open.

Previously there was no easy way to rearrange menu items in a menu.

Change-Id: Ice3d6e5404e895196d8bd32d696dce7c55bd72d4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4296
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-22 08:12:05 +00:00
Fredrik Holmqvist 51d591cdfe Add zstd for arm64 bootstrap
Currently doesn't buld due to problems with gcc neon headers though.
2021-10-22 08:25:09 +02:00
Augustin Cavalier 7916c1ca0f Rename ar81xx to atheros81xx.
The other Atheros drivers are "atheros813x" and "atheroswifi",
so renaming this one (which is the oldest of the set) to match
the other two makes sense.
2021-10-21 17:19:58 -04:00
Augustin Cavalier eeda728f3d network/ether: Import igc from FreeBSD as "intel22x".
This is the driver for Intel's new line of desktop-class ethernet
controllers, from FreeBSD. Not yet included in the builds as it
is untested.

Part of #17212.
2021-10-21 17:10:26 -04:00
Augustin Cavalier cbe0a0c436 drivers/network: Move ethernet drivers to an "ether" subdirectory.
Now that there is also a "tap" driver in here, and the WiFi drivers
are also in a subdirectory, moving the physical ethernet device drivers
to a subdirectory also makes sense.

(Briefly) discussed on the mailing lists.
2021-10-21 17:10:26 -04:00
Augustin Cavalier 7f2cd1318e radeon_hd: Trim down register headers to only have what is needed.
This cuts out almost 40,000 lines of these headers. (I did something similar
in the atheroswifi AR93xx/94xx driver when importing it from FreeBSD,
which had a lot more than 40,000 lines.)
2021-10-21 17:10:24 -04:00
Adrien Destugues 0f6f5adb50 generic/tty: restore lock sharing between master and slave TTYs
The code in this module was derived from the one in driver/tty. However,
the driver uses a shared lock between the master and slave side of a
TTY, and this was changed to use two separate locks. The approach with
two locks does not work. It seems the change was unfinished and the
second TTY was never locked. But attempting to lock it will result in
lock inversion problems, unless we do complicated things (try to find
which of the two TTY is the master side, and lock that first, for
example). It is simpler to restore the shared lock as used in the
driver.

To set up the shared lock, I modified the tty_create function to take a
pointer to the master TTY when creating the slave. Maybe it makes more
sense to create both sides in the same call, create_tty_pair?

However, this does not work as easily as I wanted, because there is some
recursion going on: at least in one case, the tty_control function is
calling the driver's tty_service function, which in turns attempts to
call back into tty_control for the "other side" TTY. To handle this
case, replace the mutex with a recursive_lock.

Fixes #17091, where the root problem was access to
other_tty->select_pool without locking. This was also made unconvenient
to debug because select_pool objects are self-deleting, when the last
item in the pool is removed. As a result, the code accessing it without
log would suddenly find out that the data it was accessing had been
freed and erased.

This also makes the TTY code in driver/tty and generic/tty a bit more
similar than it was before, and brings us one step closer to merging the
two together. There are still two main differences and I don't know
enough about TTY to decide if they are important, and which version
should be kept:
- The driver has extra code for "background" read and write. I don't
  know what this is used for.
- The driver has a single "settings" instance shared by a master and
  slave TTY, while the module has two separate instances, but seems to
  copy one to the other. I'm not sure which approach is correct.

Change-Id: Ie2daddd027859ce32ba395af76b4f109f8b984b0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4604
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-21 14:49:15 +00:00
Adrien Destugues c0ec37dcbc tty: fix construction/destruction
There is no need to construct and destruct nested objects. The new and
delete calls on the struct will take care of it. However, some fields
have C functions for construction/destruction and these should be
called.

Change-Id: I09d5930f499ef3fa4ff580d482c682172b00b6a3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4603
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-21 14:49:15 +00:00
David Karoly 441e6e676d arch_uart_8250_omap: fix includes
Change-Id: Ib86d86b4497a46902c3f8d3dd77241f55504d702
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4620
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-21 09:10:38 +00:00
David Karoly d5bac4fd07 kernel/arch/arm: fix build - comment out fdt stuff as it's completely broken now
Change-Id: I8c0c5da0a915969176afea9e0e2cc2f831a18d59
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4619
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-21 09:09:24 +00:00
Augustin Cavalier d37e23576c Tracker: Use strlcpy in FSMakeOriginalName.
Suggested by axeld on the mailing list a while back.
strlcpy/strlcat NULL-terminate within the passed buffer size,
so we have no need to subtract 1 here.
2021-10-20 21:04:44 -04:00
Alexander von Gluck IV 82df3fc639 radeon_hd: Add polaris HPD on transmitter config
Change-Id: I899e75c1556acc3462812ee6503dd1b782af2a96
2021-10-20 19:53:04 -05:00
Alexander von Gluck IV cddcb186c9 radeon_hd: Add missing UNIPHY3 encoder on transmitter table 1.5
Change-Id: I3edbc5338ba2e4611939952999278575f3cc4220
2021-10-20 19:53:04 -05:00
Augustin Cavalier c075437b4c network/Jamfile: Note which drivers have been upgraded to FreeBSD 13. 2021-10-20 20:38:40 -04:00
Augustin Cavalier db2ce6f9ef ipro1000: Upgrade to FreeBSD 13.
Includes support for new generations of devices. Tested in QEMU
with e1000 and e1000e NICs.
2021-10-20 19:13:19 -04:00
Augustin Cavalier 82046b272c freebsd_network: Add pci_msix_table_bar().
Needed by the e1000 driver from FreeBSD 13. Tested in QEMU with e1000e.
2021-10-20 19:13:19 -04:00
Augustin Cavalier 047ebd5ac7 atheros813x, broadcom570x, rtl81xx: Upgrade to FreeBSD 13.
The changes for iflib reorganized some things that these drivers used,
so here we upgrade them as well.

One new chipset is supported in rtl81xx, the rest should all just be
API changes.
2021-10-20 19:13:19 -04:00
Augustin Cavalier 2155cf671f freebsd_network: Add new APIs used by FreeBSD 13 drivers. 2021-10-20 19:13:19 -04:00
Augustin Cavalier b14f1ca97c freebsd_iflib: Upgrade to that of FreeBSD 13.
ipro1000 still works.
2021-10-20 19:13:19 -04:00
Augustin Cavalier 034d500610 freebsd compat: Updates and additions for a newer iflib. 2021-10-20 19:13:19 -04:00
Alexander von Gluck IV a139e89af2 arm64: Add build-packages synced with server
Change-Id: I824b6f3c6920a13fb51a8f2feb71201014ffeb0a
2021-10-20 16:28:23 -05:00
Murai Takashi c224d63cac SGITranslator: fix too few arguments to formatting function
Pointed out by LGTM

Change-Id: I0f83a3ba92d941c6e8acba02c77afce3cb40f56f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4627
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 18:03:50 +00:00
Murai Takashi f4742397e0 bin/rc: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: If0a6c3a5b951f360a4ff9e3d112d4d9799b12fb4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4626
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 18:03:03 +00:00
Franck LeCodeur 245e831213 file_systems/googlefs: Fix warnings and enable Werror
Part of #9460

Change-Id: I1dc3271b72886ede8db3c78e39b12de873c3e8bd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4572
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-20 18:01:15 +00:00
Franck LeCodeur 9a594d0a60 bus_managers/firewire: Fix warnings
Add parenthesis for macro processing, change variable type for signedness comparison warning

Change-Id: I67125ac1dfc97583ecb9e5706909a0a09cda7a2e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4575
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-20 18:00:36 +00:00
Franck LeCodeur 718fce997a drivers/input: Fix warnings and enable Werror
Correct signedness for comparisons, remove unused code, remove unused variable, correct variable type for callbacks

Part of #9460

Change-Id: Ie48e8498e0830ed8b175986aaf82b94a1d99b72f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4570
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-20 18:00:36 +00:00
Augustin Cavalier d81238bf2f framebuffer.accelerant: Utilize AreaDeleter. 2021-10-20 13:53:12 -04:00
Augustin Cavalier 3c181db6bf vesa & radeon_hd: Remove unneeded and incorrect free().
In 47404f12f2, a MemoryDeleter was added
to manage this memory instead of doing it manually; most of the free()s
were removed in that commit, but these were somehow missed.
2021-10-20 13:53:12 -04:00
Alexander von Gluck IV 9b6c4b320f riscv64: Add zstd to build-packages
Change-Id: If2a58d9ab49c3c6901356274cff854b282fb9429
2021-10-20 12:22:42 -05:00
Adrien Destugues 56d38808a5 kernel: add memmem to available functions
It will be needed in the VESA driver to locate things in the VESA BIOS.

Change-Id: Iab42886beb99414fec4d1ad99a08299be679b4d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4623
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:17:18 +00:00
Adrien Destugues 60ffcc21fb radeon_hd: move some atombios headers to private/graphics
These will be needed to implement custom modes in the VESA driver.

Change-Id: I9b52de691baa14e1f1a3ccce500ced9bb040b113
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4622
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:17:18 +00:00
Adrien Destugues ed7b6396e3 bios: make the BIOS writable
This will be used for live patching of the VESA BIOS.

Change-Id: I66c2dfd950262b5ba4d1e7b424eac46f0695297a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4621
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:17:18 +00:00
Augustin Cavalier 411ccfeb96 app_server: Treat the framebuffer driver as a special case like VESA.
This should resolve the problems where the framebuffer driver was
getting picked instead of the "real" graphics driver, when available,
which led to the framebuffer driver getting merged back into the VESA
driver.

Change-Id: I4ad00d2ac3b5dda34aa63f8691d4cbb85e4f6bb5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4616
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:12:21 +00:00
Augustin Cavalier 66415cd209 Remove dumb-framebuffer handling logic from the VESA driver.
This reverts commit a0db7ef272.
This reverts commit 40cdf7d607.
This reverts commit 2ff22d6734.
This reverts commit b9eacd390d.
This partially reverts commit 5ae7ac5fd9.

This was all added in the run-up to the removal of the framebuffer driver,
or was added since then to enhance framebuffer-only support in that driver.

Change-Id: I32ab8199f22cf6846545ae19e943c98012b2a1d0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4615
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:12:21 +00:00
Augustin Cavalier f7bd3509e3 Bring back the framebuffer driver and accelerant.
This reverts commit 72fc5e6a71.

They were removed because app_server often picked them instead of
a better graphics driver, and fallbacks merged into VESA instead.
That seems to have created more problems than it solved, in the long run,
and so the intent now is to change app_server to understand the
framebuffer driver as a fallback one instead.

Change-Id: I6edd97fb29ed2b9c13c6c540569695c8426ecfd7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4614
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-20 17:12:21 +00:00
Jérôme Duval b7a1261eef pci: support 64-bit BAR addressing for MSI-X memory mappings
Change-Id: I463de6aeb45d34e68e888a7648546acddb3fd57a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4613
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-20 14:03:08 +00:00
Augustin Cavalier d029b0dd9f Control looks do not need to link against app_server. 2021-10-19 21:57:31 -04:00
Augustin Cavalier 7cee071659 FlatControlLook: Various clean-ups.
* Do not rely on symbols overriding other symbols, which is
   not a safe assumption and not good practice either. Instead,
   move all methods into FlatControlLook.

 * Reorganize class structures somewhat.

 * Remove unused variables.
2021-10-19 21:54:51 -04:00
Augustin Cavalier c5325c6690 ArchitectureRules: Increase HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET on x86.
The bootloader is larger after adding zstd and needs more space now.
384 is the value used already on PPC and SPARC. Fixes generating
floppyboot archives for anyboot images following recent changes.
2021-10-19 20:59:26 -04:00
Augustin Cavalier 945c0e0786 HaikuPorts/x86_64: Mesa 21 needs LLVM 9 libs. 2021-10-19 18:27:47 -04:00
Augustin Cavalier 986199c92e boot: Add calloc() implementation to bootloader heap.
Needed by zstd.
2021-10-19 18:25:36 -04:00
Augustin Cavalier dde8b8972d DemangleTest: Add a test for demangle_symbol_gcc3 without the full demangler.
This tests what 0945c7e4e6 fixed.
Also fix one of the GCC2 tests which had expectation and input swapped.
2021-10-19 18:10:10 -04:00
Augustin Cavalier adb04d5ad3 haiku_datatranslators: Remove version specification from libavif.
It will be set by update_package_dependencies later in the build anyway.
2021-10-19 18:01:01 -04:00
Augustin Cavalier d3ed786f07 boot/loader: Add Zstd support. 2021-10-19 17:49:27 -04:00
Augustin Cavalier 7bd549882a boot: Move boot_zlib build out of tarfs directory.
It is also used by packagefs. Another library is coming in the next commit.
2021-10-19 17:45:19 -04:00
Augustin Cavalier dedd2be949 BuildFeatures: Enable zstd on x86_gcc2.
Now that the kernel is built with GCC8, this does not cause problems.
2021-10-19 16:57:10 -04:00
Augustin Cavalier 96b062f1ce BuildFeatures: Enable AVIFTranslator on more than just x86_64. 2021-10-19 16:54:11 -04:00
Augustin Cavalier b6442ab7fa BuildFeatures: Fix reference to libavif.
AVIFTranslator now builds.
2021-10-19 16:44:27 -04:00
Augustin Cavalier c6242ccf75 HaikuPorts/x86_64: Update build-packages set.
Now libavif_devel is properly included.
2021-10-19 16:44:25 -04:00
Augustin Cavalier 1499a3026d tools/hardlink_packages: Trigger an error if there are duplicate package entries.
This would have caught a user error on my part in the last build-packages
update.
2021-10-19 16:44:24 -04:00
Jérôme Duval f0a567c451 tcp: combine timestamp and sack_permitted options when possible
any ordering is legal, but some devices don't cope with what we do.
thus we reorder sack_permitted before timestamp, this doesn't cost us anything.
noticed by Sikk: https://dev.haiku-os.org/ticket/13681#comment:11

Change-Id: Ic2e1589945dd74e3034a653427a2ff45626b3a76
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4598
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 19:27:42 +00:00
Augustin Cavalier eb1d596ff6 Remove B_FILE_NOT_FOUND from public headers.
Now that it is not used anywhere in the source tree following
previous commits.

Change-Id: Id2fc417a0658d09148e99587c613a928f1fbe4c2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4611
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 15:58:54 +00:00
Augustin Cavalier 6209570e34 Replace usages of B_FILE_NOT_FOUND in public-facing APIs.
As BeOS R5 had deprecated this error code, this should in theory
not cause any particular problems.
2021-10-19 11:34:32 -04:00
Augustin Cavalier 1a3be0addd Replace usages of B_FILE_NOT_FOUND in non-BeOS-API code.
B_FILE_NOT_FOUND was deprecated in BeOS R5 in favor of B_ENTRY_NOT_FOUND,
but it remained in Haiku and was never removed even conditionally, so
we have accumulated a number of usages of it.

This commit changes all the usages of it in new code, applications,
or anything else that BeOS applications will otherwise never see,
and so should be relatively safe.
2021-10-19 11:33:47 -04:00
Felix Ehlers 36df12a51a diskprobe: Add striped look and vertical line separators
* vertical lines per 4 bytes displayed
* striped line colors

Change-Id: I08508f15a60c5ceab8e3088faca9c03576c129e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4563
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:24:06 +00:00
Kacper Kasper ba6a1df423 MediaPlayer: cache file duration in memory
* SetAttribute() will fail for read-only volumes.
* Duration() is called in playlist's Draw() method.
  Since _CalculateDuration() is very expensive because it parses
  file metadata, it causes visible drawing glitches and playlist is
  almost unusable.
* Mitigates #15221. I don't consider this a fix because first draw
  is still going to block for a long time, but at least scrolling
  works smoothly now. Ideally, file metadata would be parsed
  asynchronously in a separate thread and drawn as it becomes
  available.

Change-Id: If198d61c77a7746bcc0e19b7caeed89ce829c247
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4597
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-19 08:21:43 +00:00
Adrien Destugues 3e9824f9ef tty: move the "tty" KDL command to the generic tty module.
Currently I'm trying to debug things using the generic tty module, and I
can't use the command from the driver for that. I hope someday the
driver and module will use the same structure for the ttys and can share
the same command...

Change-Id: I167dab600ac8567368604f9b6463f787857f4d20
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4602
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-10-19 08:19:26 +00:00
Adrien Destugues e7a62c420f tty: synchronize the driver and module sourcecode a bit
The tty module started its life as a copy of the driver, and they
diverged over time as fixes and refactorings were not always brought to
both sides.

This commit does not improve the situation, but it tries to make the
two versions of the tty_private.h and tty.cpp files as similar as
possible to ease comparison.

Change-Id: I62255262b167ab81c9a0619c8f19b36b1a165fad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4601
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:19:26 +00:00
Murai Takashi 77c1611f1d net_server: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: I76c9853d62221718e20b836a27bc0a4253e9a6ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4610
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:03:48 +00:00
Murai Takashi 4fd470b7ce network kit: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: Ifc58fbe8a37c824bffdfa579cb89da1fdb1c383a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4609
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:02:39 +00:00
Murai Takashi 9cd6397fe7 malloc_debug: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: I7130e655458500fd17b40fb163da6517022cc774
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4608
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:01:59 +00:00
Murai Takashi 5705d286f6 storage kit: fix more wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: Iee81983a86cd71714dcedcf58f74bcea59ca619d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4607
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:00:48 +00:00
Murai Takashi d171b8b533 system/boot/loader: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: Ifd2cce8aa36308791845fe552893e077db47ad0c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4606
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 08:00:08 +00:00
Murai Takashi 41ed621ea6 bin/debug/strace: fix wrong type of arguments to formatting function
Pointed out by LGTM

Change-Id: If8ca0a8c9b6c3be4c888921a7a704cd351d5e115
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4605
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-19 07:58:52 +00:00
Augustin Cavalier ea7b7a5408 kernel/debug: Set sDebuggerOnCPU as soon as possible.
This variable is what debug_debugger_running() checks to determine
if the debugger is in fact running. Before this commit, it was not
set until *after* calling debugger module hooks; now it is called
before them.

This fixes #17302. The problem there was that the USB stack gained
an ASSERT(debug_debugger_running()) in code that is called in the
USB keyboard debug module initialization, which before this commit
would trip, and then enter an infinite loop as panic() does not work
during debugger startup. Now the assert is true and everything works
as it did before.
2021-10-18 22:56:03 -04:00
Augustin Cavalier 69880fc7cb nvme_disk: Check addresses are 32-bit-aligned before deciding we do not need to bounce.
This should fix #16973.
2021-10-18 16:32:33 -04:00
Augustin Cavalier 62571f5eb4 nvme_disk: Disable MSI-X support for now.
It is broken under QEMU, and it may well be on real hardware, too.
More investigation is required.
2021-10-18 16:32:32 -04:00
Augustin Cavalier f7179d9f41 nvme_disk: Improve nvme_pcicfg_map_bar logic.
The 64-bit address accounting that was added used a hardcoded bar of 0,
which is not what we want here, so use the correct offsets instead.
Also account for sizes, too.
2021-10-18 16:32:32 -04:00
Augustin Cavalier 8f5199f019 nvme_disk: Unconditionally mask off PCI_command_int_disable.
Otherwise legacy interrupts do not work at all on x86.
This fixes hrev55299, which contrary to the commit message,
did not "add" legacy interrupts support; it was already there,
and in fact that commit broke it on x86.
2021-10-18 16:32:32 -04:00
Franck LeCodeur 628ddb2790 usb_webcam: Fix warnings and enable Werror
Done as part of #9460

Change-Id: I45f53451c91d63f5e5170234c75a831472cfffc7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4501
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-18 16:28:20 +00:00
Franck LeCodeur 5b38b945ae flaticon: Fix warnings due to type punning
Original warnings:

In function ‘bool BPrivate::Icon::read_float_24(BPrivate::Icon::LittleEndianBuffer&, float&)’:
/s/src/libs/icon/flat_icon/FlatIconFormat.cpp:94:20:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   _value = (float&)value;
                    ^~~~~
/s/src/libs/icon/flat_icon/FlatIconFormat.cpp:108:26: warning:
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  uint32 value = (uint32&)_value;
                          ^~~~~~

Change-Id: Ibe1facde0d37beefd5bcf542c89502bac2384034
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4499
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-18 16:28:20 +00:00
Alexander G. M. Smith 610f99c838 3rdparty/os_probe: Use Debian's #!/bin/sh.
Had a look at the actual Debian os-prober (1.79) package and found
that they use /bin/sh as their shell for all their os-prober scripts.
So for Fedora and other downstream packages, someone must be going
through all the scripts and changing them to /usr/bin/sh.  Switch
to the Debian variety since they're the upstream of everybody for this.

Change-Id: I2bed8cb133640861311061261ff0cae8ae6f2648
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4599
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-17 18:09:26 +00:00
Rudolf Cornelissen 3a9bb1e729 intel_extreme: updated PLL restricts, updated set- and proposemode. Requested modes are now set more precise. 2021-10-16 21:15:11 +00:00
Adrien Destugues 6846668fd7 runime_loader: fix typo from hrev55497 2021-10-16 20:58:54 +02:00
Autocomitter 8c12a59297 Update translations from Pootle 2021-10-16 08:51:27 +00:00
Jérôme Duval 52b4ed6028 Errors.h: add ENOTRECOVERABLE and EOWNERDEAD from POSIX
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
Change-Id: I3c0a08d447c897b3caba8d365f8e5dbab7869f18
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4573
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-10-16 08:23:28 +00:00
Rudolf Cornelissen 17cd86cd91 intel_extreme: retain requested refreshrate in proposemode. 2021-10-15 00:22:44 +00:00
Fredrik Holmqvist b5d451373e Revert "arm64: Add missing fdt storage for FDT bus"
This reverts commit 3e8376c6dd.

Reason for revert: Bootloader currently fails to load kernel

It should be added back once the kernel can start.

Change-Id: Iebefbf8681aff4dff09cef7b7eb832b61f7789c7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4579
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-14 19:52:47 +00:00
Jérôme Duval f89943d822 build/x86: also test the stack protector on x86 secondary arch
on x86, gcc emits a local reference to __stack_chk_fail_local
which can only be provided by a static library. as we don't have
a libroot_nonshared, we use libgcc from gcc, in which libssp_nonshared
was merged, from version 8.3.0_2019_05_24-11.

Change-Id: I22bf26dec5c1fe69a3915a923bd716a494f846ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4564
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-10-14 19:42:07 +00:00
Máximo Castañeda b009ef381b AlphaMask: fix bounds of inverse masks
For inverse masks the real bounds rect is the canvas, as the points that
pass through are the ones not drawn.

Change-Id: I420a5eca419b215b55e4c2362e2c7646465a4cd3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4455
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-14 18:49:18 +00:00
Máximo Castañeda c10931f3b0 app_server tests: stacking of inverse clipping
A few visual tests of clipping composition with different combinations of
layers with and without the inverse bit.

Change-Id: Icddb377508733463378f93b24075fd06e54ef2cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4454
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2021-10-14 18:49:18 +00:00
Franck LeCodeur 23d7ddafcc input_server/methods/pen: Enable Werror as there are no related warnings
Part of #9460

Change-Id: I73a23fb2a346ab12ae95652de21f215c2a227c9e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4566
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-14 16:46:44 +00:00
Franck LeCodeur 2453e792d5 bus_managers/firewire: Enable Werror as there are no related warnings
Part of #9460

Change-Id: I236519962aaac58de45a4054bfb51ceb9a93df15
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4565
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-10-14 16:46:44 +00:00
Fredrik Holmqvist 48eb7d981d Allow gcc to know result is aligned
Someone on the internet found out gcc only understand posix_memalign.

The alloc_align attribute may be applied to a function that returns
a pointer and takes at least one argument of an integer or enumerated
type. It indicates that the returned pointer is aligned on a boundary
given by the function argument at position.

Change-Id: I4b0af6ef3020da1fb460652117286193d5d72f1e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4514
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-14 16:19:18 +00:00
Coldfirex 4a850ca730 PoorMan: update thttpd from 2.25b to 2.29
http://www.acme.com/software/thttpd/#releasenotes
Compiled on 32 and 64bit, ran PoorMan, and verified it served webpage and shows logs correctly.

Change-Id: I23fdf0f9910089aa8e24bb66ed7fb49b065b5577
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4404
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-12 14:15:53 +00:00
Alexander von Gluck IV 3e8376c6dd arm64: Add missing fdt storage for FDT bus
Change-Id: Ifadd47204be1ec688017a567d43dca38c80bd1df
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4431
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2021-10-12 13:55:53 +00:00
Alexander von Gluck IV d4ca1c6746 arm: Add missing gFDT storage for FDT bus
Change-Id: I7c7eaa72515ecb5c2e50c089ceb7428b4bafbf22
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4430
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-12 13:55:32 +00:00
Adrien Destugues d29af2b6eb ArchitectureRules: Grooming of EnableWerror list
- All network add-ons are now built with Werror, collapse the list to a
  single entry
- Add a few busses add-ons that were not listed (to be checked and fixed if
  needed)
2021-10-11 21:31:09 +02:00
Franck LeCodeur b06bf005c5 drivers/bus: Enable Werror as there are no related warnings
Part of #9460

Change-Id: Ic88a45e0d548098d076f73ef39bd149d7a82546a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4569
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-11 19:26:08 +00:00
Franck LeCodeur 4ff75b9c6c drivers/power: Enable Werror as there are no related warnings
Part of #9460

Change-Id: Ia8dad5c0c4b8d3efaa3205bb8bf6cc2eb6b4e95d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4568
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-11 19:26:08 +00:00
Franck LeCodeur 9170263e93 kernel/debugger: Fix warnings and enable Werror
Add one missing include and change variable declaration types to match comparison type.

Part of #9460

Change-Id: I95a12e5db11f95c2fd7c1906eaabdc5e21236cf1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4567
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-11 19:26:08 +00:00
X512 5ab0674c38 kernel/arch/riscv64: fix crash on userland thread exit
Set first stack frame return address to
<commpage>commpage_thread_exit, so it will be called
when thread entry point returns.

Change-Id: Ide5cde8d4501eb7241e03ff4052174e984e78870
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4493
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-11 17:38:20 +00:00
Fredrik Holmqvist 812397ffd9 Update HaikuPortsCross package versions for ARM64 2021-10-11 19:32:27 +02:00
Adrien Destugues f122405db8 Add some documentation about interface kit coordinate spaces
I hope this clears some of the confusion about it.
2021-10-09 21:10:26 +02:00
Jérôme Duval 3f8482c472 kernel/x86_64: remove lfence after swapgs on syscall entry and exit
in a syscall, swapgs is always executed and can't be speculatively executed or bypassed.
it's also not needed on exception/interrupt exit, only on exception/interrupt entry.
follow-up on commit 84f6e2d39f by waddlesplash

(7aa47cace1)

Change-Id: I56de9526a1acd0075c4a12147ae782f0366dec52
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4557
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-09 18:54:16 +00:00
Franck LeCodeur 98193d2688 raw_decoder: Fix warnings and enable Werror
Done as part of #9460

Warnings related to comparison of integer expressions of different signedness

Change-Id: If5543db951b11aab1858a18a057b7d2e08ee2b42
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4503
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-09 18:00:06 +00:00
Adrien Destugues ae51dd6785 x86_gcc2 haiku_secondary package: Add missing dependency on libzstd.
libbe now links against it, and it will soon be used to compress hpkg
files. But the dependency was not added.

Fixes #17287.
2021-10-09 17:32:59 +02:00
Adrien Destugues 13241731dc runtime_loader: improve error message
When a library is not found, it is useful to know why it was linked in
by showing the previous link in the dependency chain. We had the
information available, but did not use it in the error message.
2021-10-09 17:12:11 +02:00
Adrien Destugues fb5c24d812 MediaAddOn: missing const
Pretty much all add-ons are setting this to point to a const string, so
we should make sure that nothing tries to modify it.
2021-10-09 16:38:46 +02:00
Adrien Destugues 857c79a6b8 Introduce symbol_visibility.h with macros to define hidden functions
These were used in function_remapper.cpp but can be used elsewhere too,
so move them to a private header. Also use them for the stack protector
hidden function definition (probably not so useful since gcc2 doesn't
support using the stack protector anyway?).

The gcc2 way to make a symbol hidden is to manually generate the .hidden
directive in the assembler output. This is not perfect: it is hard to
use for C++ functions and methods (manual mangling of the name is
needed), and inline assembler can only be inserted inside functions. But
the alternative is patching gcc2 to add support for the function
attribute, and I don't want to dig into that today.
2021-10-09 15:03:36 +02:00
Adrien Destugues cfa6534031 LayoutUtils: improve text dump of layout
- Show view names in addition to class names
- Use class_name from ClassInfo.h to get class names (no functional change)
- Use 4 spaces for indentation instead of 2
2021-10-09 14:59:04 +02:00
Adrien Destugues 2770bfe8e4 driver_settings: use B_DEFINE_WEAK_ALIAS to define a weak alias 2021-10-09 13:34:48 +02:00
Adrien Destugues 2ac7dbb046 Remove libc++
This is an old version of libc++ that was imported in an early attempt
of building Haiku with clang. It is currently not used for anything. In
fact there never was a Jamfile to build it.
2021-10-09 11:04:22 +02:00
Autocomitter 6558fa2ef4 Update translations from Pootle 2021-10-09 08:47:16 +00:00
Jérôme Duval 947d3b862b app_server: handle RGB48 and RGBA64 in switches
Change-Id: I14019b3285e036eba4b73effd79d7e1b4181daeb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4558
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-08 15:06:07 +00:00
Coldfirex 536fc87a33 Netfs: Fix wformat-security
Change-Id: Id24585b12a264deb7dc87deb87a523e507773096
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4483
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Franck LeCodeur <cassisian@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-07 11:15:14 +00:00
X512 7fb43331f8 ldscripts/riscv64: adjust after adding `--enable-initfini-array` flag
Change-Id: Icd5b944901c483100808d6624ca742bd04b869bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4074
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-06 15:23:53 +00:00
nhtello a56c73f9ff control_look/decor: Add Flat style to haiku_extras package
* Works a bit better with dark themes
* Has some interesting alternative design elements
* MIT licensed

Change-Id: I6cfd1d4d05016fb014d515d94cff3b8c8d0298b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4508
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-06 15:23:27 +00:00
Alexander von Gluck IV b9b2a1dcd2 radeon_hd: yolo add navi chipsets
* PCI ID's from Linux
* There are a bunch of NAVI quirks around 3d rendering pipelines
  but not many around modesetting (which is the only thing we care
  about)

Change-Id: If63e31fe1d37d9d95f2a71c222a4cda7a2914a5e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4467
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-05 21:13:46 +00:00
Alexander G. M. Smith 0b057a903f 3rdparty/os_probe: Better wording, fix Beta+ version parsing.
Add lots of comments explaining things in the code.  Also fix parsing
of Beta updates which have hrev version numbers with an extra bit at
the end, like hrev12345_67.  Include architecture in the GRUB menu
title, so you can tell 32 bit and 64 bit installs apart.  Switch
back to #!/usr/bin/sh, like all the other probes do.

Change-Id: Id47afe5029369c739d5177b1dd917c7d1d631ad6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4498
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith c09821c07d 3rdparty/os_probe: August 2015 version of 83Haiku.
This one seems to be the final collated version with the previous
patches and ideas all included.  It's version 42 (dated 20150811)
put together by Jeroen Oortwijn at
https://bazaar.launchpad.net/~idefix/ubuntu/trusty/os-prober/HaikuPM/files/head:/os-probes/mounted/x86

Change-Id: Ia7f276b45a5766c5f5bf1495d3726e5d475e2eee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4497
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith 3958b5545b 3rdparty/os_probe: First 83haiku with Package Manager support.
Change-Id: I9c660b1569b5439f2cd9088fde4e96512e7817d8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4496
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Alexander G. M. Smith 0235470472 3rdparty/os_probe: Original 83haiku GRUB auto detect Haiku.
Original version of 83haiku as seen in Debian Linux, for detecting
pre-package based Haiku OS and automatically setting up a GRUB
boot menu item for bootable Haiku partitions.

Change-Id: I0d1fe4c9b395e7912b2398ab6bac5c25d92aa64a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4495
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
Coldfirex 1286f0ccc0 hda:sync intel ids list from freebsd
Change-Id: I8a9610a10709de1d54f315d4868b7b4001c06a0f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4500
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-05 13:30:47 +00:00
Alexander von Gluck IV 7f276d8306 hda/intel: disable MISCBDCGE on chip init
* Disabled Misc Backbone Dynamic Clock Gating during init.
* The alsa and linux kernel drivers both do this on
  these skylake HD Audio chipsets.
  First iteration:
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6639484dda
  Later iteration (all skylake and broxton):
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/pci/hda/hda_intel.c#n555

Change-Id: Id914fb5541f7020b9edb4fa635fcfffde9847663
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4556
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-10-05 13:25:39 +00:00
Jérôme Duval 65496b3a28 matrox: SMAP fixes
tested with success at least on VGA, see #16069. Thanks TmTFx and rudolfc!

Change-Id: I4183416b09216b111984658eb8b23c8f62a0e36d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2762
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-04 15:15:22 +00:00
Rudolf Cornelissen 66af68c2e6 intel_extreme: only primary accelerant should kill the locks. Should fix trouble after closing clones. 2021-10-03 13:49:40 +00:00
2653 changed files with 56659 additions and 196346 deletions

View File

@ -1,4 +1,4 @@
FROM debian:buster-slim
FROM debian:bullseye-slim
ENV DEBIAN_FRONTEND="noninteractive"
@ -7,8 +7,8 @@ RUN apt-get update
# Base Haiku requirements
RUN apt-get install -y git nasm autoconf automake autopoint texinfo \
flex bison gawk build-essential unzip wget zip less zlib1g-dev \
libcurl4-openssl-dev genisoimage libtool mtools gcc-multilib \
u-boot-tools util-linux device-tree-compiler bc
libzstd-dev libcurl4-openssl-dev genisoimage libtool \
mtools gcc-multilib u-boot-tools util-linux device-tree-compiler bc
# GCC requirements
RUN apt-get install -y python3

View File

@ -21,7 +21,7 @@ mkdir -p $GENERATED
echo "Beginning a bootstrap build for $TARGET_ARCH at $GENERATED..."
cd $GENERATED
$WORKPATH/src/haiku/configure -j4 --build-cross-tools $TARGET_ARCH $WORKPATH/src/buildtools \
$WORKPATH/src/haiku/configure -j4 --build-cross-tools $TARGET_ARCH --cross-tools-source $WORKPATH/src/buildtools \
--bootstrap $WORKPATH/src/haikuporter/haikuporter $WORKPATH/src/haikuports.cross $WORKPATH/src/haikuports
echo "If everything was successful, your next step is 'TARGET_ARCH=$TARGET_ARCH make bootstrap'"

56
3rdparty/os_probe/83haiku vendored Executable file
View File

@ -0,0 +1,56 @@
#!/bin/sh
# Detects bootable Haiku OS on BeFS partitions and FUSE mounted BeFS too.
# If it doesn't find anything, try mounting the BeFS volumes in Linux.
# Discussion of improvements and development history at
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732696
# Adapted from version 42 (dated 20150811) updated by Jeroen Oortwijn at
# https://bazaar.launchpad.net/~idefix/ubuntu/trusty/os-prober/HaikuPM/files/head:/os-probes/mounted/x86
# Latest version now at https://git.haiku-os.org/haiku/tree/3rdparty/os_probe
. /usr/share/os-prober/common.sh
partition="$1"
mpoint="$2"
type="$3"
# Weed out stuff that doesn't apply to us, needs to be a Be file system.
case "$type" in
bfs|befs) debug "$partition is a BeFS partition." ;;
fuse|fuseblk) debug "$partition is a FUSE partition, maybe with BeFS on it." ; mpoint="$mpoint/myfs" ;;
*) exit 1 ;; # Be quiet and just quit for irrelevant partitions.
esac
if head -c 512 "$partition" | grep -qs "haiku_loader"; then
debug "Haiku stage 1 bootloader found."
else
debug "Haiku stage 1 bootloader not found: exiting"
exit 1
fi
if system="$(item_in_dir "system" "$mpoint")" &&
packages="$(item_in_dir "packages" "$mpoint/$system")" &&
item_in_dir -q "haiku_loader-r[0-9].*\.hpkg" "$mpoint/$system/$packages" &&
rev="$(item_in_dir "haiku-r[0-9].*\.hpkg" "$mpoint/$system/$packages")"
then
debug "Haiku Package Manager stage 2 bootloader and kernel ($rev) found."
label="$(count_next_label Haiku)"
# Convert kernel file name like haiku-r1~beta3_hrev55181_56-1-x86_64.hpkg
# or haiku-r1~alpha4_pm_hrev49856-1-x86_gcc2.hpkg into a readable version,
# like "Haiku R1 beta3 (hrev55181_56) 64". Seems to use a travelling space
# technique in the sed stream editor.
rev="$(echo "$rev" | sed 's/haiku-//;s/^\(r[0-9]\+\)./\U\1\E /;s/ \([a-z]\+[0-9]\+\)[_-]/ \1 /;s/ [a-z]*_\?\(hrev[0-9_]\+\)\+-/ (\1) /;s/) [^_]\+_\([a-z0-9]\+\)\.hpkg/) \1 /;s/[^ ]\+.hpkg//;s/ $//')"
long="Haiku $rev"
result "$partition:$long:$label:chain"
exit 0
elif system="$(item_in_dir "system" "$mpoint")" &&
item_in_dir -q "haiku_loader" "$mpoint/$system" &&
item_in_dir -q "kernel_.*" "$mpoint/$system"
then
debug "Older non-package manager Haiku stage 2 bootloader and kernel found."
label="$(count_next_label Haiku)"
result "$partition:Haiku:$label:chain"
exit 0
else
debug "Haiku stage 2 bootloader and kernel not found: exiting"
exit 1
fi

30
3rdparty/os_probe/README.md vendored Normal file
View File

@ -0,0 +1,30 @@
# os-probe for the Haiku Computer Operating System
This is the Linux "os-probes" file to detect Haiku OS and to automatically add
it to the GRUB boot menu. Mostly relevant for x86 BIOS based computers.
Copy the 83haiku file to your Linux system in the os-probes subdirectory,
usually (in Fedora at least) it will be /usr/libexec/os-probes/mounted/83haiku
You can find older 83haiku versions in the repository history, though the
latest should be able to detect older (pre-package manager) Haiku too.
Then regenerate the GRUB boot configuration file. This will happen
automatically the next time your kernel is updated. To do it manually,
for old school MBR BIOS boot computers, the command is
`grub2-mkconfig --output /boot/grub2/grub.cfg`
If it doesn't find the Haiku partitions, try manually mounting them in Linux
and rerun the grub command.
Computers using the newer UEFI boot system have a EFI/HAIKU/BOOTX64.EFI file
that you manually install to your EFI partition, and booting is done
differently, so you don't need this 83Haiku file for them. See
[UEFI Booting Haiku](https://www.haiku-os.org/guides/uefi_booting/) instead.
The original seems to have come from Debian and was written by François Revol.
It's in the
[Debian os-prober package](https://packages.debian.org/search?keywords=os-prober).
There's also a big discussion about updating it in
[Debian Bug Report #732696](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732696).
Latest version is now at https://git.haiku-os.org/haiku/tree/3rdparty/os_probe
_AGMS20210927_

48
3rdparty/vagrant/README.md vendored Normal file
View File

@ -0,0 +1,48 @@
# Haiku Vagrant boxes
> Haiku, Inc. has access to draft a new release at Vagrant
https://app.vagrantup.com/haiku-os
## Creating libvirt box
Create base image:
```qemu-image -f qcow2 libvirt/box.img 8G```
Install Haiku:
```qemu-system-x86_64 --enable-kvm -hda libvirt/box.img -cdrom <haiku.iso> -m 1G```
Boot Haiku:
```qemu-system-x86_64 --enable-kvm -hda libvirt/box.img -m 1G```
Update software:
```
pkgman update
<reboot>
pkgman install vim
```
Install vagrant public key:
```
mkdir ~/config/settings/ssh
wget https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub -O ~/config/settings/ssh/authorized_keys
chmod 700 ~/config/settings/ssh
chmod 600 ~/config/settings/ssh/authorized_keys
```
Rename "user" to "vagrant" by editing /etc/passwd. Change "user" to "vagrant"
### Packaging libvirt
```
cd libvirt
tar cvzf ../libvirt.box *
```
## Creating VirtualBox box
```
qemu-image convert -f qcow2 -O vmdk libvirt/box.img virtualbox/box-0001.vmdk
cd virtualbox
tar cvzf ../virtualbox.box *
```

7
3rdparty/vagrant/Vagrantfile vendored Normal file
View File

@ -0,0 +1,7 @@
#
# Example Vagrantfile to launch a haiku image
#
Vagrant.configure("2") do |config|
config.vm.box = "haiku-os/r1beta3-x86_64"
config.vm.box_version = "20220216"
end

12
3rdparty/vagrant/libvirt/Vagrantfile vendored Normal file
View File

@ -0,0 +1,12 @@
Vagrant.configure("2") do |config|
config.vm.provider :libvirt do |libvirt|
libvirt.driver = "kvm"
libvirt.host = ""
libvirt.memory = 1024
libvirt.cpus = 2
libvirt.input :type => "tablet", :bus => "usb"
libvirt.video_type = "qxl"
libvirt.graphics_type = "spice"
libvirt.machine_arch = "x86_64"
end
end

0
3rdparty/vagrant/libvirt/box.img vendored Normal file
View File

4
3rdparty/vagrant/libvirt/info.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"author": "Haiku, Inc.",
"homepage": "https://haiku-os.org"
}

View File

@ -0,0 +1,5 @@
{
"provider" : "libvirt",
"format" : "qcow2",
"virtual_size" : 8
}

11
3rdparty/vagrant/virtualbox/Vagrantfile vendored Normal file
View File

@ -0,0 +1,11 @@
Vagrant::Config.run do |config|
# This Vagrantfile is auto-generated by `vagrant package` to contain
# the MAC address of the box. Custom configuration should be placed in
# the actual `Vagrantfile` in this box.
config.vm.base_mac = "0800274992E3"
end
# Load include vagrant file if it exists after the auto-generated
# so it can override any of the settings
include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
load include_vagrantfile if File.exist?(include_vagrantfile)

View File

145
3rdparty/vagrant/virtualbox/box.ovf vendored Executable file
View File

@ -0,0 +1,145 @@
<?xml version="1.0"?>
<Envelope ovf:version="1.0" xml:lang="en-US" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/ovf/machine">
<References>
<File ovf:id="file1" ovf:href="box-disk001.vmdk"/>
</References>
<DiskSection>
<Info>List of the virtual disks used in the package</Info>
<Disk ovf:capacity="8589934592" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" vbox:uuid="a95a6679-1fc8-49f8-b6b0-9fa7cd9f1b75"/>
</DiskSection>
<NetworkSection>
<Info>Logical networks used in the package</Info>
<Network ovf:name="NAT">
<Description>Logical network used by this appliance.</Description>
</Network>
</NetworkSection>
<VirtualSystem ovf:id="haiku-r1b3-x86_64">
<Info>A virtual machine</Info>
<OperatingSystemSection ovf:id="102">
<Info>The kind of installed guest operating system</Info>
<Description>Other_64</Description>
<vbox:OSType ovf:required="false">Other_64</vbox:OSType>
</OperatingSystemSection>
<VirtualHardwareSection>
<Info>Virtual hardware requirements for a virtual machine</Info>
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>haiku-r1b3-x86_64</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
</System>
<Item>
<rasd:Caption>2 virtual CPU</rasd:Caption>
<rasd:Description>Number of virtual CPUs</rasd:Description>
<rasd:ElementName>2 virtual CPU</rasd:ElementName>
<rasd:InstanceID>1</rasd:InstanceID>
<rasd:ResourceType>3</rasd:ResourceType>
<rasd:VirtualQuantity>2</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits>
<rasd:Caption>1024 MB of memory</rasd:Caption>
<rasd:Description>Memory Size</rasd:Description>
<rasd:ElementName>1024 MB of memory</rasd:ElementName>
<rasd:InstanceID>2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>sataController0</rasd:Caption>
<rasd:Description>SATA Controller</rasd:Description>
<rasd:ElementName>sataController0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
<rasd:ResourceType>20</rasd:ResourceType>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>usb</rasd:Caption>
<rasd:Description>USB Controller</rasd:Description>
<rasd:ElementName>usb</rasd:ElementName>
<rasd:InstanceID>4</rasd:InstanceID>
<rasd:ResourceType>23</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>3</rasd:AddressOnParent>
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:Caption>sound</rasd:Caption>
<rasd:Description>Sound Card</rasd:Description>
<rasd:ElementName>sound</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>
<rasd:ResourceType>35</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:Caption>disk1</rasd:Caption>
<rasd:Description>Disk Image</rasd:Description>
<rasd:ElementName>disk1</rasd:ElementName>
<rasd:HostResource>/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>6</rasd:InstanceID>
<rasd:Parent>3</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
</Item>
<Item>
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
<rasd:Caption>Ethernet adapter on 'NAT'</rasd:Caption>
<rasd:Connection>NAT</rasd:Connection>
<rasd:ElementName>Ethernet adapter on 'NAT'</rasd:ElementName>
<rasd:InstanceID>7</rasd:InstanceID>
<rasd:ResourceType>10</rasd:ResourceType>
</Item>
</VirtualHardwareSection>
<vbox:Machine ovf:required="false" version="1.18-linux" uuid="{93d1f24d-7107-485a-994c-85db13d3ff8e}" name="haiku-r1b3-x86_64" OSType="Other_64" snapshotFolder="Snapshots" lastStateChange="2020-07-03T13:23:10Z">
<ovf:Info>Complete VirtualBox machine configuration in VirtualBox format</ovf:Info>
<ExtraData>
<ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
<ExtraDataItem name="GUI/LastNormalWindowPosition" value="280,274,1024,821"/>
</ExtraData>
<Hardware>
<CPU count="2">
<PAE enabled="true"/>
<LongMode enabled="true"/>
<HardwareVirtExLargePages enabled="false"/>
</CPU>
<Memory RAMSize="1024"/>
<HID Pointing="USBTablet"/>
<Boot>
<Order position="1" device="HardDisk"/>
<Order position="2" device="None"/>
<Order position="3" device="None"/>
<Order position="4" device="None"/>
</Boot>
<Display VRAMSize="10"/>
<VideoCapture file="." fps="25"/>
<BIOS>
<IOAPIC enabled="true"/>
<SmbiosUuidLittleEndian enabled="true"/>
</BIOS>
<USB>
<Controllers>
<Controller name="OHCI" type="OHCI"/>
</Controllers>
</USB>
<Network>
<Adapter slot="0" enabled="true" MACAddress="0800274992E3" type="virtio">
<NAT/>
</Adapter>
</Network>
<AudioAdapter driver="Pulse" enabled="true" enabledOut="true"/>
<Clipboard/>
<GuestProperties>
<GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1593782383102601000" flags=""/>
</GuestProperties>
<StorageControllers>
<StorageController name="AHCI" type="AHCI" PortCount="1" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
<AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
<Image uuid="{a95a6679-1fc8-49f8-b6b0-9fa7cd9f1b75}"/>
</AttachedDevice>
</StorageController>
</StorageControllers>
</Hardware>
</vbox:Machine>
</VirtualSystem>
</Envelope>

4
3rdparty/vagrant/virtualbox/info.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"author": "Haiku, Inc.",
"homepage": "https://haiku-os.org"
}

View File

@ -0,0 +1 @@
{"provider":"virtualbox"}

11
Jamfile
View File

@ -20,10 +20,10 @@ for architectureObject in [ MultiArchSubDirSetup ] {
# Include required packages:
# primary architecture
AddHaikuImageSystemPackages [ FFilterByBuildFeatures
bash bc coreutils freetype libsolv zlib
bash bc freetype libsolv zlib
!gcc2 @{ icu66 }@
gcc2 @{ icu icu66_x86@secondary_x86 }@
!gcc2 @{ coreutils icu66 }@
gcc2 @{ coreutils_x86 icu icu66_x86@secondary_x86 }@
regular_image @{
bzip2 diffutils expat ffmpeg findutils glu gutenprint8 gzip
lame less libedit libicns
@ -37,7 +37,10 @@ AddHaikuImageSystemPackages [ FFilterByBuildFeatures
}@
] ;
AddHaikuImageSourcePackages [ FFilterByBuildFeatures
bash bc coreutils
bash bc
!gcc2 @{ coreutils }@
gcc2 @{ coreutils_x86 }@
regular_image @{
expat ffmpeg findutils grep gutenprint8 gzip

View File

@ -136,7 +136,7 @@ cd haiku/generated.x86_64
cd haiku/generated.x86gcc2
../configure \
--cross-tools-source ../../buildtools/ \
--build-cross-tools x86_gcc2
--build-cross-tools x86_gcc2 \
--build-cross-tools x86
```
@ -244,7 +244,7 @@ Configure Haiku's build system for a bootstrap build specifying the location
of all of the repositories above.
```
../configure -j4 \
--build-cross-tools myarch ../../buildtools \
--build-cross-tools myarch --cross-tools-source ../../buildtools \
--bootstrap ../../haikuporter/haikuporter ../../haikuports.cross ../../haikuports
```

View File

@ -40,6 +40,7 @@ rule ArchitectureSetup architecture
switch $(cpu) {
case ppc : archFlags += -mcpu=440fp ;
case arm : archFlags += -march=armv7-a -mfloat-abi=hard ;
case arm64 : archFlags += -march=armv8.2-a+fp16 ;
case x86 : archFlags += -march=pentium ;
case riscv64 : archFlags += -march=rv64gc ;
}
@ -47,6 +48,11 @@ rule ArchitectureSetup architecture
# TODO: These should be included in Clang's compiler specs.
ccBaseFlags += -fPIC ;
HAIKU_LINKFLAGS_$(architecture) += -shared ;
# lld doesn't currently implement R_RISCV_ALIGN relaxation
if $(cpu) = riscv64 {
ccBaseFlags += -mno-relax ;
}
}
ccBaseFlags += $(archFlags) ;
@ -108,11 +114,11 @@ rule ArchitectureSetup architecture
# disable some Clang warnings that are not very useful
if $(HAIKU_CC_IS_CLANG_$(architecture)) = 1 {
HAIKU_WARNING_CCFLAGS_$(architecture) += -Wno-address-of-packed-member
-Wno-unused-private-field -Wno-cast-align -Wno-gnu-designator
HAIKU_WARNING_CCFLAGS_$(architecture) +=
-Wno-unused-private-field -Wno-gnu-designator
-Wno-builtin-requires-header ;
HAIKU_WARNING_C++FLAGS_$(architecture) += -Wno-address-of-packed-member
-Wno-unused-private-field -Wno-cast-align -Wno-gnu-designator
HAIKU_WARNING_C++FLAGS_$(architecture) +=
-Wno-unused-private-field -Wno-gnu-designator
-Wno-builtin-requires-header ;
}
@ -122,7 +128,10 @@ rule ArchitectureSetup architecture
# TODO: Remove all these.
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=unused-but-set-variable
-Wno-error=deprecated -Wno-error=deprecated-declarations
-Wno-error=cpp -Wno-error=trigraphs ;
-Wno-error=cpp -Wno-error=trigraphs -Wno-error=register ;
# These currently generate too many "false positives."
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=address-of-packed-member
-Wno-error=stringop-overread -Wno-error=array-bounds ;
# But these can stay.
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=cast-align
-Wno-error=format-truncation ;
@ -263,12 +272,12 @@ rule KernelArchitectureSetup architecture
case x86 :
HAIKU_KERNEL_PLATFORM ?= bios_ia32 ;
HAIKU_BOOT_TARGETS += bios_ia32 pxe_ia32 ;
HAIKU_BOOT_TARGETS += bios_ia32 efi pxe_ia32 ;
HAIKU_ANYBOOT_LEGACY = 1 ;
HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 2880 ; # in kB
# offset in floppy image (>= sizeof(haiku_loader))
HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 320 ; # in kB
HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 384 ; # in kB
# nasm is required for target arch x86
if ! $(HAIKU_NASM) {
@ -293,7 +302,7 @@ rule KernelArchitectureSetup architecture
HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 2880 ; # in kB
# offset in floppy image (>= sizeof(haiku_loader))
HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 320 ; # in kB
HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 384 ; # in kB
# x86_64 kernel source is under arch/x86.
HAIKU_KERNEL_ARCH_DIR = x86 ;
@ -495,6 +504,27 @@ rule KernelArchitectureSetup architecture
HAIKU_BOOT_$(bootTarget:U)_CCFLAGS += -maccumulate-outgoing-args ;
HAIKU_BOOT_$(bootTarget:U)_C++FLAGS += -maccumulate-outgoing-args ;
}
case arm :
HAIKU_BOOT_$(bootTarget:U)_CCFLAGS += -mfloat-abi=soft ;
HAIKU_BOOT_$(bootTarget:U)_C++FLAGS += -mfloat-abi=soft ;
# Remove any previous -mfloat-abi=hard setting from compiler flags
local fixedBootCCFlags ;
local fixedBootC++Flags ;
for flag in $(HAIKU_BOOT_CCFLAGS) {
if $(flag) = "-mfloat-abi=hard" {
continue ;
}
fixedBootCCFlags += $(flag) ;
}
for flag in $(HAIKU_BOOT_C++FLAGS) {
if $(flag) = "-mfloat-abi=hard" {
continue ;
}
fixedBootC++Flags += $(flag) ;
}
HAIKU_BOOT_CCFLAGS = $(fixedBootCCFlags) ;
HAIKU_BOOT_C++FLAGS = $(fixedBootC++Flags) ;
}
HAIKU_BOOT_$(bootTarget:U)_LDFLAGS = -Bstatic -Bsymbolic
-nostdlib -znocombreloc -no-undefined ;
@ -538,6 +568,9 @@ rule KernelArchitectureSetup architecture
case riscv :
HAIKU_BOOT_$(bootTarget:U)_CCFLAGS += -mcmodel=medany -fno-omit-frame-pointer -fno-plt -fno-pic -fno-semantic-interposition ;
HAIKU_BOOT_$(bootTarget:U)_C++FLAGS += -mcmodel=medany -fno-omit-frame-pointer -fno-plt -fno-pic -fno-semantic-interposition ;
case openfirmware :
HAIKU_BOOT_$(bootTarget:U)_CCFLAGS += -fno-pic -fno-semantic-interposition -Wno-error=main -Wstack-usage=1023 ;
HAIKU_BOOT_$(bootTarget:U)_C++FLAGS += -fno-pic -fno-semantic-interposition -Wno-error=main -Wstack-usage=1023 ;
case * :
# all other bootloaders are non-PIC
HAIKU_BOOT_$(bootTarget:U)_CCFLAGS += -fno-pic -Wno-error=main ;
@ -631,14 +664,14 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons disk_systems ;
EnableWerror src add-ons input_server devices ;
EnableWerror src add-ons input_server filters ;
# EnableWerror src add-ons input_server methods pen ;
EnableWerror src add-ons input_server methods pen ;
EnableWerror src add-ons input_server methods t9 ;
EnableWerror src add-ons kernel bluetooth ;
EnableWerror src add-ons kernel bus_managers acpi ;
EnableWerror src add-ons kernel bus_managers agp_gart ;
EnableWerror src add-ons kernel bus_managers ata ;
EnableWerror src add-ons kernel bus_managers config_manager ;
# EnableWerror src add-ons kernel bus_managers firewire ;
EnableWerror src add-ons kernel bus_managers firewire ;
EnableWerror src add-ons kernel bus_managers ide ;
EnableWerror src add-ons kernel bus_managers isa ;
EnableWerror src add-ons kernel bus_managers pci ;
@ -650,26 +683,30 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons kernel bus_managers virtio ;
EnableWerror src add-ons kernel busses agp_gart ;
EnableWerror src add-ons kernel busses ata ;
# EnableWerror src add-ons kernel busses i2c ;
# EnableWerror src add-ons kernel busses mmc ;
# EnableWerror src add-ons kernel busses random ;
EnableWerror src add-ons kernel busses scsi ;
EnableWerror src add-ons kernel busses usb ;
# EnableWerror src add-ons kernel busses virtio ;
EnableWerror src add-ons kernel console ;
EnableWerror src add-ons kernel cpu ;
# EnableWerror src add-ons kernel debugger ; # gcc2
EnableWerror src add-ons kernel debugger ;
# EnableWerror src add-ons kernel drivers audio ;
EnableWerror src add-ons kernel drivers bluetooth ;
# EnableWerror src add-ons kernel drivers bus ;
EnableWerror src add-ons kernel drivers bus ;
EnableWerror src add-ons kernel drivers common ;
# EnableWerror src add-ons kernel drivers disk ;
EnableWerror src add-ons kernel drivers dvb ;
# EnableWerror src add-ons kernel drivers graphics ;
EnableWerror src add-ons kernel drivers graphics intel_extreme ;
# EnableWerror src add-ons kernel drivers input ;
EnableWerror src add-ons kernel drivers input ;
EnableWerror src add-ons kernel drivers joystick ;
EnableWerror src add-ons kernel drivers midi ;
EnableWerror src add-ons kernel drivers misc ;
# EnableWerror src add-ons kernel drivers network ;
EnableWerror src add-ons kernel drivers ports ;
# EnableWerror src add-ons kernel drivers power ;
EnableWerror src add-ons kernel drivers power ;
EnableWerror src add-ons kernel drivers printer ;
EnableWerror src add-ons kernel drivers random ;
EnableWerror src add-ons kernel drivers tty ;
@ -678,7 +715,7 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons kernel file_systems cdda ;
EnableWerror src add-ons kernel file_systems ext2 ;
# EnableWerror src add-ons kernel file_systems fat ;
# EnableWerror src add-ons kernel file_systems googlefs ;
EnableWerror src add-ons kernel file_systems googlefs ;
EnableWerror src add-ons kernel file_systems iso9660 ;
EnableWerror src add-ons kernel file_systems layers ;
# EnableWerror src add-ons kernel file_systems netfs ;
@ -691,13 +728,7 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons kernel file_systems udf ;
EnableWerror src add-ons kernel file_systems userlandfs ;
EnableWerror src add-ons kernel generic ;
EnableWerror src add-ons kernel network datalink_protocols ;
EnableWerror src add-ons kernel network devices ;
EnableWerror src add-ons kernel network dns_resolver ;
EnableWerror src add-ons kernel network notifications ;
EnableWerror src add-ons kernel network ppp ;
EnableWerror src add-ons kernel network protocols ;
EnableWerror src add-ons kernel network stack ;
EnableWerror src add-ons kernel network ;
EnableWerror src add-ons kernel partitioning_systems ;
EnableWerror src add-ons kernel power ;
EnableWerror src add-ons locale ;
@ -715,7 +746,7 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons media media-add-ons reader ;
EnableWerror src add-ons media media-add-ons tone_producer_demo ;
EnableWerror src add-ons media media-add-ons usb_vision ;
# EnableWerror src add-ons media media-add-ons usb_webcam ;
EnableWerror src add-ons media media-add-ons usb_webcam ;
EnableWerror src add-ons media media-add-ons video_mixer ;
EnableWerror src add-ons media media-add-ons video_producer_demo ;
EnableWerror src add-ons media media-add-ons videowindow ;
@ -723,7 +754,7 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src add-ons media plugins ape_reader ;
EnableWerror src add-ons media plugins au_reader ;
# EnableWerror src add-ons media plugins ffmpeg ;
# EnableWerror src add-ons media plugins raw_decoder ;
EnableWerror src add-ons media plugins raw_decoder ;
EnableWerror src add-ons print ;
EnableWerror src add-ons screen_savers ;
EnableWerror src add-ons tracker ;

View File

@ -101,6 +101,7 @@ rule SetupBoot
# override regular CCFLAGS/C++FLAGS, as we don't want them
TARGET_CCFLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ;
TARGET_C++FLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ;
TARGET_ASFLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ;
# override warning flags
TARGET_WARNING_CCFLAGS_$(TARGET_KERNEL_ARCH) on $(object)
@ -171,6 +172,8 @@ rule BootMergeObject
# will be added.
#
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
SetupBoot $(2) : $(3) ;
Objects $(2) ;
MergeObjectFromObjects $(1) : $(2:S=$(SUFOBJ)) : $(4) ;
@ -183,6 +186,8 @@ rule BootStaticLibrary
# This is designed to take a set of sources and libraries and create
# a file called lib<name>.a
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
SetupBoot $(2) : $(3) : false ;
Library $(1) : $(2) ;
}
@ -193,6 +198,8 @@ rule BootStaticLibraryObjects
# This is designed to take a set of sources and libraries and create
# a file called <name>
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
# Show that we depend on the libraries we need
SetupBoot $(2) ;
LocalClean clean : $(1) ;

View File

@ -78,9 +78,12 @@ if [ IsPackageAvailable gcc_syslibs_devel ] {
libgcc_eh.a: $(developLibDir)/libgcc_eh.a
libgcc-kernel.a: $(developLibDir)/libgcc-kernel.a
libgcc_eh-kernel.a: $(developLibDir)/libgcc_eh.a
libgcc-boot.a: $(developLibDir)/libgcc-boot.a
libgcc_eh-boot.a: $(developLibDir)/libgcc_eh-boot.a
libstdc++.a: $(developLibDir)/libstdc++.a
libsupc++.a: $(developLibDir)/libsupc++.a
libsupc++-kernel.a: $(developLibDir)/libsupc++-kernel.a
libsupc++-boot.a: $(developLibDir)/libsupc++-boot.a
c++-headers: $(developHeadersDir)/c++
gcc-headers: $(developHeadersDir)/gcc
;
@ -104,7 +107,6 @@ if [ IsPackageAvailable icu_devel ] {
$(developLibDir)/libicudata.so
$(developLibDir)/libicui18n.so
$(developLibDir)/libicuio.so
$(developLibDir)/libicutu.so
$(developLibDir)/libicuuc.so
headers: $(developHeadersDir)
;
@ -120,7 +122,6 @@ if [ IsPackageAvailable icu_devel ] {
$(developLibDir)/libicudata.so
$(developLibDir)/libicui18n.so
$(developLibDir)/libicuio.so
$(developLibDir)/libicutu.so
$(developLibDir)/libicuuc.so
headers: $(developHeadersDir)
;
@ -669,19 +670,15 @@ if [ IsPackageAvailable libwebp_devel ] {
# libavif
if [ IsPackageAvailable libavif_devel ] {
if $(HAIKU_PACKAGING_ARCH) = x86_64 {
ExtractBuildFeatureArchives libavif :
file: base libavif
runtime: lib
file: devel libavif_devel
depends: base
library: $(developLibDir)/libavif.so.12
headers: $(developHeadersDir) $(developHeadersDir)/avif
;
EnableBuildFeatures libavif ;
} else {
unavailableBuildFeatures += libavif ;
}
ExtractBuildFeatureArchives libavif :
file: base libavif
runtime: lib
file: devel libavif_devel
depends: base
library: $(developLibDir)/libavif.so.9
headers: $(developHeadersDir) $(developHeadersDir)/avif
;
EnableBuildFeatures libavif ;
} else {
unavailableBuildFeatures += libavif ;
}
@ -744,7 +741,7 @@ if [ IsPackageAvailable expat_devel ] {
# zstd
if [ IsPackageAvailable zstd_devel ] && $(TARGET_PACKAGING_ARCH) != x86_gcc2 {
if [ IsPackageAvailable zstd_devel ] {
ExtractBuildFeatureArchives zstd :
file: base zstd
runtime: lib

View File

@ -222,7 +222,7 @@ HOST_UNARFLAGS ?= x ;
# check the host platform compatibility
SetPlatformCompatibilityFlagVariables HOST_PLATFORM : HOST : host
: linux openbsd freebsd darwin msys ;
: linux openbsd freebsd darwin ;
HOST_PLATFORM_(host)_COMPATIBLE = 1 ;
if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd
@ -412,10 +412,7 @@ if $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
} else {
HOST_LINKFLAGS += -lm -ldl ;
HOST_LIBSTDC++ = stdc++ ;
if $(HOST_PLATFORM) = msys {
HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR
= "PATH=$PATH:$(HOST_BUILD_COMPATIBILITY_LIB_DIR)" ;
} else if $(HOST_PLATFORM) = darwin {
if $(HOST_PLATFORM) = darwin {
HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR
= "DYLD_LIBRARY_PATH=\"$DYLD_LIBRARY_PATH:$(HOST_BUILD_COMPATIBILITY_LIB_DIR)\"" ;
} else {
@ -558,8 +555,10 @@ SetPlatformCompatibilityFlagVariables TARGET_PLATFORM : TARGET : target ;
# Haiku architecture is undefined on host-only builds
# set here to host arch to prevent recusive loops.
if $(HAIKU_HOST_BUILD_ONLY) = 1 {
Echo "Host tools build for $(HOST_ARCH)" ;
HAIKU_ARCH = $(HOST_ARCH) ;
HAIKU_KERNEL_ARCH = $(HOST_ARCH) ;
HAIKU_KERNEL_ARCH_DIR = $(HAIKU_KERNEL_ARCH) ;
}
# Set TARGET_* variables either from HAIKU_* or HOST_* depending on the
@ -649,7 +648,6 @@ switch $(HOST_PLATFORM) {
case linux : HOST_DEFINES += HAIKU_HOST_PLATFORM_LINUX ;
case freebsd : HOST_DEFINES += HAIKU_HOST_PLATFORM_FREEBSD ;
case darwin : HOST_DEFINES += HAIKU_HOST_PLATFORM_DARWIN ;
case msys : HOST_DEFINES += HAIKU_HOST_PLATFORM_MSYS ;
}
# define host platform 64 bit macro

View File

@ -1649,6 +1649,7 @@ rule BuildCDBootPPCImage image : hfsmaps : elfloader : coffloader : chrpscript
actions BuildCDBootPPCImage1 bind MAPS
{
$(RM) $(<)
mkdir -p $(HAIKU_OUTPUT_DIR)/cd/ppc
mkdir -p $(HAIKU_OUTPUT_DIR)/cd/boot
# CHRP Boot script
@ -1662,9 +1663,10 @@ actions BuildCDBootPPCImage1 bind MAPS
# Xorriso doesn't have map and some other required tools
# to make bootable PowerPC images
genisoimage -v -hfsplus -map $(MAPS) \
genisoimage -v -hfs -map $(MAPS) \
-hfs-bless $(HAIKU_OUTPUT_DIR)/cd/boot -part -no-desktop \
-hfs-parms MAX_XTCSIZE=2656248 -hfs-volid Haiku \
--prep-boot boot/haikuloader.elf \
--chrp-boot -r -J -o $(<) $(HAIKU_OUTPUT_DIR)/cd
$(RM) -r $(HAIKU_OUTPUT_DIR)/cd
@ -1683,6 +1685,8 @@ rule BuildEfiSystemPartition image : efiLoader
Depends $(image) : $(fatshell) ;
switch $(TARGET_ARCH) {
case x86 :
EFINAME on $(image) = "BOOTIA32.EFI" ;
case x86_64 :
EFINAME on $(image) = "BOOTX64.EFI" ;
case arm :
@ -1697,6 +1701,9 @@ rule BuildEfiSystemPartition image : efiLoader
Exit "Error: Unknown EFI architecture!" ;
}
# public efi keys for efi bios trust
EFIKEYS on $(image) = [ FDirName $(HAIKU_TOP) data boot efi keys ] ;
BuildEfiSystemPartition1 $(image) : $(fatshell) $(macVolumeIcon) $(efiLoader) ;
}
@ -1716,7 +1723,15 @@ actions BuildEfiSystemPartition1
${FATFS} --initialize "$(<)" 'Haiku ESP'
echo "mkdir myfs/EFI" | ${FATFS} $(<)
echo "mkdir myfs/KEYS" | ${FATFS} $(<)
echo "mkdir myfs/EFI/BOOT" | ${FATFS} $(<)
echo "cp :${LOADER} myfs/EFI/BOOT/$(EFINAME)" | ${FATFS} $(<)
echo "cp :${EFIICON} myfs/.VolumeIcon.icns" | ${FATFS} $(<)
# Copy UEFI signing keys and a README for end users
echo "cp :$(EFIKEYS)/README.md myfs/KEYS/README.md" | ${FATFS} $(<)
for i in auth cer crt; do
echo "cp :$(EFIKEYS)/DB.$i myfs/KEYS/DB.$i" | ${FATFS} $(<)
done
}

View File

@ -173,38 +173,41 @@ rule Object
rule As
{
local flags ;
local includesSeparator ;
local localIncludesOption ;
local systemIncludesOption ;
if [ on $(1) return $(PLATFORM) ] = host {
flags = [ on $(1) return $(HOST_ASFLAGS) $(ASFLAGS) ] ;
CC on $(1) = $(HOST_CC) ;
includesSeparator = $(HOST_INCLUDES_SEPARATOR) ;
localIncludesOption = $(HOST_LOCAL_INCLUDES_OPTION) ;
systemIncludesOption = $(HOST_SYSTEM_INCLUDES_OPTION) ;
} else {
flags = [ on $(1) return $(TARGET_ASFLAGS_$(TARGET_PACKAGING_ARCH))
$(ASFLAGS) ] ;
CC on $(1) = $(TARGET_CC_$(TARGET_PACKAGING_ARCH)) ;
includesSeparator
= $(TARGET_INCLUDES_SEPARATOR_$(TARGET_PACKAGING_ARCH)) ;
localIncludesOption
= $(TARGET_LOCAL_INCLUDES_OPTION_$(TARGET_PACKAGING_ARCH)) ;
systemIncludesOption
= $(TARGET_SYSTEM_INCLUDES_OPTION_$(TARGET_PACKAGING_ARCH)) ;
}
Depends $(<) : $(>) [ on $(1) return $(PLATFORM) ] ;
ASFLAGS on $(<) += $(flags) $(SUBDIRASFLAGS) ;
ASHDRS on $(<) = [ on $(<) FIncludes $(HDRS) : $(localIncludesOption) ]
$(includesSeparator)
[ on $(<) FSysIncludes $(SYSHDRS) : $(systemIncludesOption) ] ;
ASDEFS on $(<) = [ on $(<) FDefines $(DEFINES) ] ;
on $(1) {
local flags ;
local includesSeparator ;
local localIncludesOption ;
local systemIncludesOption ;
if $(PLATFORM) = host {
flags = $(HOST_ASFLAGS) $(ASFLAGS) ;
CC on $(1) = $(HOST_CC) ;
includesSeparator = $(HOST_INCLUDES_SEPARATOR) ;
localIncludesOption = $(HOST_LOCAL_INCLUDES_OPTION) ;
systemIncludesOption = $(HOST_SYSTEM_INCLUDES_OPTION) ;
} else {
flags = $(TARGET_ASFLAGS_$(TARGET_PACKAGING_ARCH)) $(ASFLAGS) ;
CC on $(1) = $(TARGET_CC_$(TARGET_PACKAGING_ARCH)) ;
includesSeparator
= $(TARGET_INCLUDES_SEPARATOR_$(TARGET_PACKAGING_ARCH)) ;
localIncludesOption
= $(TARGET_LOCAL_INCLUDES_OPTION_$(TARGET_PACKAGING_ARCH)) ;
systemIncludesOption
= $(TARGET_SYSTEM_INCLUDES_OPTION_$(TARGET_PACKAGING_ARCH)) ;
}
ASFLAGS on $(<) += $(flags) $(SUBDIRASFLAGS) ;
ASHDRS on $(<) = [ on $(<) FIncludes $(HDRS) : $(localIncludesOption) ]
$(includesSeparator)
[ on $(<) FSysIncludes $(SYSHDRS) : $(systemIncludesOption) ] ;
ASDEFS on $(<) = [ on $(<) FDefines $(DEFINES) ] ;
}
}
actions As

View File

@ -134,6 +134,12 @@ rule TargetBootLibsupc++ asPath
if $(asPath) = true {
flags += path ;
}
if $(TARGET_PACKAGING_ARCH) = arm {
return [
BuildFeatureAttribute gcc_syslibs_devel
: libsupc++-boot.a : $(flags)
] ;
}
return [
BuildFeatureAttribute gcc_syslibs_devel
: libsupc++-kernel.a : $(flags)
@ -246,6 +252,12 @@ rule TargetBootLibgcc architecture : asPath
if $(asPath) = true {
flags += path ;
}
if $(architecture) = arm {
return [
BuildFeatureAttribute QUALIFIED $(architecture):gcc_syslibs_devel
: libgcc-boot.a : $(flags)
] ;
}
return [
BuildFeatureAttribute QUALIFIED $(architecture):gcc_syslibs_devel
: libgcc-kernel.a : $(flags)

View File

@ -13,7 +13,7 @@ NotFile $(HAIKU_CD_BOOT_IMAGE_CONTAINER_NAME) ;
# common extra files to put on the boot iso
local extras = README.html ;
SEARCH on $(extras) = [ FDirName $(HAIKU_TOP) data boot_cd ] ;
SEARCH on $(extras) = [ FDirName $(HAIKU_TOP) data boot extras ] ;
if $(TARGET_ARCH) = ppc {
local elfloader = boot_loader_openfirmware ;
@ -25,9 +25,6 @@ if $(TARGET_ARCH) = ppc {
# HFS creator and application type mapping for mkisofs
local hfsmaps = hfs.map ;
SEARCH on $(chrpscript) $(hfsmaps) $(extras)
= [ FDirName $(HAIKU_TOP) data boot_cd ] ;
BuildCDBootPPCImage $(HAIKU_CD_BOOT_IMAGE) : $(hfsmaps)
: $(elfloader) : $(coffloader) : $(chrpscript) : $(extras) ;
} else {

View File

@ -22,6 +22,8 @@ rule BuildSDImage image : files
if $(TARGET_BOOT_PLATFORM) = efi {
switch $(TARGET_ARCH) {
case x86 :
EFINAME on $(image) = "BOOTIA32.EFI" ;
case x86_64 :
EFINAME on $(image) = "BOOTX64.EFI" ;
case arm :

View File

@ -8,12 +8,12 @@ SYSTEM_NETWORK_PROTOCOLS = ipv4 tcp udp icmp unix ;
SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
x86 @{
3com atheros813x
3com atheros813x atheros81xx
broadcom440x broadcom570x ipro1000
rtl8139 rtl81xx
via_rhine ipro100 nforce
marvell_yukon sis900 syskonnect
attansic_l2 ar81xx
attansic_l2
}@ # x86
etherpci pegasus usb_ecm wb840

View File

@ -143,10 +143,13 @@ SYSTEM_NETWORK_PROTOCOLS =
;
SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
x86,x86_64,riscv64 @{
framebuffer.accelerant
x86,x86_64 @{
vesa.accelerant
}@ # x86,x86_64,riscv64
}@ # x86,x86_64
riscv64 @{
# ati for qemu, radeon_hd for unmatched
ati.accelerant
radeon_hd.accelerant
}@ # riscv64
] ;
@ -174,10 +177,13 @@ SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
x86,x86_64,riscv64 @{
framebuffer
x86,x86_64 @{
vesa
}@ # x86,x86_64,riscv64
}@ # x86,x86_64
riscv64 @{
# ati for qemu, radeon_hd for unmatched
ati
radeon_hd
}@ # riscv64
] ;
@ -187,11 +193,12 @@ SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
x86,x86_64 @{
3com
atheros813x ar81xx attansic_l1 attansic_l2
atheros813x atheros81xx attansic_l1 attansic_l2
broadcom440x broadcom570x
dec21xxx
emulex_oce
ipro100 ipro1000
intel22x
jmicron2x0
marvell_yukon
nforce
@ -262,7 +269,6 @@ local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
local etcFiles = inputrc profile ;
etcFiles = $(etcFiles:G=etc) ;
SEARCH on $(etcFiles) = $(etcDir) ;
etcFiles += <etc>termcap ;
AddFilesToHaikuImage system settings etc : $(etcFiles) ;
local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;

View File

@ -9,7 +9,7 @@ SYSTEM_BIN += [ FFilterByBuildFeatures
dpms
FirstBootPrompt
<bin>i2c@x86,x86_64 installsound
mail mail2mbox mbox2mail media_client mkdos mount_nfs
mail mail2mbox mbox2mail media_client mount_nfs
play recover screenshot setcontrollook setdecor spamdbm
translate
WindowShade

View File

@ -266,10 +266,6 @@ AddFilesToPackage add-ons disk_systems
# Kernel bluetooth stack
AddFilesToPackage add-ons kernel bluetooth : $(SYSTEM_BT_STACK) ;
# decorators
AddFilesToPackage add-ons decorators : BeDecorator ;
# MacDecorator WinDecorator
# the MIME DB
CopyDirectoryToPackage data : <mimedb>mime_db : : : isTarget ;

View File

@ -3,11 +3,22 @@ local architecture = $(HAIKU_PACKAGING_ARCHS[1]) ;
local extrasPackage = haiku_extras.hpkg ;
HaikuPackage $(extrasPackage) ;
## Driver Oddities
# kernel modules
AddFilesToPackage add-ons kernel partitioning_systems
: amiga_rdb@!m68k apple@!ppc sun@!sparc ;
AddFilesToPackage add-ons control_look : BeControlLook ;
## Visual Oddities
# MacDecorator WinDecorator need improved stack and tile support
# Control Looks
AddFilesToPackage add-ons control_look : BeControlLook FlatControlLook ;
# Decorators
AddFilesToPackage add-ons decorators : BeDecorator FlatDecorator ;
BuildHaikuPackage $(extrasPackage) : haiku_extras ;

View File

@ -4,46 +4,48 @@ RemotePackageRepository HaikuPorts
:
# architecture "any" packages
be_book-2008_10_26-3
ca_root_certificates-2019_01_23-1
ca_root_certificates-2021_07_05-1
gnu_efi_kernel-3.0.10-1
haikuporter-1.2.2-2
noto-20170920-3
haikuporter-1.2.5-1
noto-20200106-1
timgmsoundfont-fixed-5
wqy_microhei-0.2.0~beta-4
:
# repository architecture packages
# primary architecture (arm)
bash-4.4.023-1
binutils-2.28.1_2017_08_05-1
binutils-2.36.1_2021_09_21-2
bison-3.0.5-1
coreutils-8.22-1
curl-7.40.0-1
curl_devel-7.40.0-1
expat-2.1.0-1
expat_devel-2.1.0-1
expat-2.4.1-1
expat_devel-2.4.1-1
findutils-4.6.0-1
flex-2.5.35-1
freetype-2.6.3-1
freetype_devel-2.6.3-1
gawk-3.1.8-2
gcc_syslibs_devel-8.3.0_2019_05_24-1
gcc_syslibs-8.3.0_2019_05_24-1
gcc_syslibs_devel-11.2.0_2021_07_28-4
gcc_syslibs-11.2.0_2021_07_28-4
grep-2.14-1
icu-57.1-2
icu_devel-57.1-2
icu-67.1-2
icu_devel-67.1-2
less-451-1
libsolv-0.3.0_haiku_2014_12_22-1
libsolv_devel-0.3.0_haiku_2014_12_22-1
m4-1.4.16-1
make-4.1-2
make-4.3-1
mawk-1.3.4-1
ncurses6-6.0-1
ncurses6_devel-6.0-1
python-2.7.6-1
ncurses6-6.2-1
ncurses6_devel-6.2-1
python-3.9.1-1
sed-4.2.1-1
texinfo-4.13a-1
zlib-1.2.11-1
zlib_devel-1.2.11-1
zstd-1.5.0-2
zstd_devel-1.5.0-2
:
# source packages
bash
@ -65,6 +67,7 @@ RemotePackageRepository HaikuPorts
sed
texinfo
zlib
zstd
:
# debuginfo packages
;

View File

@ -4,40 +4,40 @@ RemotePackageRepository HaikuPorts
:
# architecture "any" packages
# be_book-2008_10_26-3
ca_root_certificates-2020_01_01-1
haikuporter-1.2.3-2
noto-20170920-4
ca_root_certificates-2021_07_05-1
haikuporter-1.2.5-1
noto-20200106-1
timgmsoundfont-fixed-5
wqy_microhei-0.2.0~beta-4
:
# repository architecture packages
# primary architecture (arm64)
bash-5.1-1
binutils-2.28.1_2017_08_05-1
bash-4.4.023-1
binutils-2.36.1_2021_09_21-1
bison-3.0.5-1
coreutils-8.22-1
curl-7.40.0-1
curl_devel-7.40.0-1
expat-2.1.0-1
expat_devel-2.1.0-1
expat-2.4.1-1
expat_devel-2.4.1-1
findutils-4.6.0-1
flex-2.5.35-1
freetype-2.6.3-1
freetype_devel-2.6.3-1
gawk-3.1.8-2
gcc-8.3.0_2019_05_24-4
gcc_syslibs_devel-8.3.0_2019_05_24-4
gcc_syslibs-8.3.0_2019_05_24-4
icu-57.2-2
icu_devel-57.2-2
gcc-8.3.0_2021_09_21-1
gcc_syslibs_devel-8.3.0_2021_09_21-1
gcc_syslibs-8.3.0_2021_09_21-1
icu-67.1-1
icu_devel-67.1-1
less-451-1
libsolv-0.3.0_haiku_2014_12_22-1
libsolv_devel-0.3.0_haiku_2014_12_22-1
m4-1.4.16-1
make-4.1-2
make-4.3-1
ncurses6-6.0-1
ncurses6_devel-6.0-1
python-2.7.6-1
python-3.9.1-1
sed-4.2.1-1
texinfo-4.13a-1
zlib-1.2.11-1

View File

@ -4,43 +4,45 @@ RemotePackageRepository HaikuPorts
:
# architecture "any" packages
be_book-2008_10_26-3
ca_root_certificates-2020_01_01-1
ca_root_certificates-2021_07_05-1
gnu_efi_kernel-3.0.10-1
haikuporter-1.2.3-2
noto-20170920-4
haikuporter-1.2.5-1
noto-20200106-1
timgmsoundfont-fixed-5
wqy_microhei-0.2.0~beta-4
:
# repository architecture packages
# primary architecture (riscv64)
bash-4.4.023-1
binutils-2.28.1_2017_08_05-1
binutils-2.36.1_2021_09_21-2
bison-3.0.5-1
coreutils-8.22-1
curl-7.40.0-1
curl_devel-7.40.0-1
expat-2.1.0-1
expat_devel-2.1.0-1
expat-2.4.1-1
expat_devel-2.4.1-1
findutils-4.6.0-1
flex-2.5.35-1
freetype-2.6.3-1
freetype_devel-2.6.3-1
gawk-3.1.8-2
gcc-8.3.0_2019_05_24-4
gcc_syslibs_devel-8.3.0_2019_05_24-4
gcc_syslibs-8.3.0_2019_05_24-4
icu-57.2-2
icu_devel-57.2-2
gcc-11.2.0_2021_07_28-3
gcc_syslibs_devel-11.2.0_2021_07_28-3
gcc_syslibs-11.2.0_2021_07_28-3
icu-67.1-2
icu_devel-67.1-2
less-451-1
libsolv-0.3.0_haiku_2014_12_22-1
libsolv_devel-0.3.0_haiku_2014_12_22-1
m4-1.4.16-1
make-4.1-2
ncurses6-6.0-1
ncurses6_devel-6.0-1
make-4.3-1
ncurses6-6.2-1
ncurses6_devel-6.2-1
python-2.7.6-1
sed-4.2.1-1
texinfo-4.13a-1
zstd-1.5.0-2
zstd_devel-1.5.0-2
zlib-1.2.11-1
zlib_devel-1.2.11-1
:
@ -121,6 +123,7 @@ RemotePackageRepository HaikuPorts
yasm
xz_utils
zlib
zstd
:
# debuginfo packages
;

View File

@ -5,7 +5,7 @@ RemotePackageRepository HaikuPorts
# architecture "any" packages
be_book-2008_10_26-3
ca_root_certificates-2021_07_05-1
haikuporter-1.2.4-1
haikuporter-1.2.5-1
noto-20200106-1
noto_sans_cjk_jp-1.004-2
timgmsoundfont-fixed-5
@ -17,22 +17,22 @@ RemotePackageRepository HaikuPorts
# repository architecture packages
# primary architecture (x86_64)
autoconf-2.69-8
automake-1.16.3-1
bash-5.1-1
automake-1.16.5-1
bash-5.1.008-1
bc-1.07.1-2
bepdf-2.1.4-2
binutils-2.31.1-2
bison-3.7.6-1
bison-3.8.2-1
bzip2-1.0.8-1
bzip2_devel-1.0.8-1
cdrtools-3.02~a09-1
cdrtools_devel-3.02~a09-1
coreutils-8.29-2
cdrtools-3.02~a09-2
cdrtools_devel-3.02~a09-2
coreutils-9.0-6
ctags-5.8-5
curl-7.78.0-1
curl_devel-7.78.0-1
dav1d-0.9.1-1
dav1d_devel-0.9.1-1
curl-7.79.1-1
curl_devel-7.79.1-1
dav1d-0.9.2-1
dav1d_devel-0.9.2-1
diffutils-3.7-1
enca-1.19-2
enca_devel-1.19-2
@ -41,36 +41,36 @@ RemotePackageRepository HaikuPorts
fdk_aac-2.0.2-1
ffmpeg-4.2.2-9
ffmpeg_devel-4.2.2-9
file-5.40-1
file_data-5.40-1
file-5.41-1
file_data-5.41-1
findutils-4.8.0-1
flex-2.6.4-2
fluidlite-1.0.0-3
fluidlite_devel-1.0.0-3
fontconfig-2.13.92-1
fontconfig_devel-2.13.92-1
freetype-2.10.4-3
freetype_devel-2.10.4-3
fribidi-1.0.10-1
fribidi_devel-1.0.10-1
freetype-2.11.0-2
freetype_devel-2.11.0-2
fribidi-1.0.11-1
fribidi_devel-1.0.11-1
game_music_emu-0.6.3-1
game_music_emu_devel-0.6.3-1
gettext-0.19.8.1-7
gettext_libintl-0.19.8.1-7
gcc-8.3.0_2019_05_24-10
gcc_syslibs-8.3.0_2019_05_24-10
gcc_syslibs_devel-8.3.0_2019_05_24-10
gcc-11.2.0_2021_07_28-5
gcc_syslibs-11.2.0_2021_07_28-5
gcc_syslibs_devel-11.2.0_2021_07_28-5
giflib-5.2.1-1
giflib_devel-5.2.1-1
git-2.30.2-2
git_arch-2.30.2-2
git_cvs-2.30.2-2
git_daemon-2.30.2-2
git_email-2.30.2-2
git_svn-2.30.2-2
git-2.30.2-3
git_arch-2.30.2-3
git_cvs-2.30.2-3
git_daemon-2.30.2-3
git_email-2.30.2-3
git_svn-2.30.2-3
glu-9.0.0-7
glu_devel-9.0.0-7
gmp-6.2.1-1
gmp-6.2.1-2
graphite2-1.3.14-1
graphite2_devel-1.3.14-1
grep-3.6-2
@ -78,8 +78,8 @@ RemotePackageRepository HaikuPorts
gutenprint8-5.3.1-2
gutenprint8_devel-5.3.1-2
gzip-1.10-1
haikuwebkit-1.8.2-2
haikuwebkit_devel-1.8.2-2
haikuwebkit-1.8.4-1
haikuwebkit_devel-1.8.4-1
harfbuzz-2.8.1-1
harfbuzz_devel-2.8.1-1
icu66-66.1-2
@ -96,7 +96,7 @@ RemotePackageRepository HaikuPorts
libass-0.15.1-1
libass_devel-0.15.1-1
libavif-0.8.4-2
libavif-0.8.4-2
libavif_devel-0.8.4-2
libbluray-1.3.0-1
libbluray_devel-1.3.0-1
libdvdnav-6.1.1-1
@ -108,23 +108,23 @@ RemotePackageRepository HaikuPorts
libexecinfo-1.1-5
libffi-3.4.2-1
libgcrypt-1.8.5-1
libgpg_error-1.36-1
libgpg_error-1.36-2
libiconv-1.16-1
libicns-0.8.1-8
libicns_devel-0.8.1-8
libidn2-2.0.5-2
libjpeg_turbo-2.1.0-1
libjpeg_turbo_devel-2.1.0-1
libjpeg_turbo-2.1.1-1
libjpeg_turbo_devel-2.1.1-1
libmodplug-0.8.9.0-1
libogg-1.3.5-1
libogg_devel-1.3.5-1
libopenmpt-0.5.9-1
libopenmpt_devel-0.5.9-1
libopenmpt-0.5.13-1
libopenmpt_devel-0.5.13-1
libpcap-1.8.1-4
libpcap_devel-1.8.1-4
libpcre2-10.37-1
libpcre-8.44-1
libpcre_devel-8.44-1
libpcre-8.45-1
libpcre_devel-8.45-1
libpng16-1.6.37-1
libpng16_devel-1.6.37-1
libpsl-0.21.0-1
@ -135,7 +135,7 @@ RemotePackageRepository HaikuPorts
libsolv_devel-0.3.0_haiku_2014_12_22-3
libssh2-1.9.0-2
libssh2_devel-1.9.0-2
libtasn1-4.16.0-1
libtasn1-4.17.0-1
libtheora-1.1.1-7
libtheora_devel-1.1.1-7
libtool-2.4.6-2
@ -145,27 +145,27 @@ RemotePackageRepository HaikuPorts
libvpx-1.10.0-1
libvpx_devel-1.10.0-1
libuuid-1.3.1-4
libwebp-1.1.0-2
libwebp_devel-1.1.0-2
libwebp-1.2.1-1
libwebp_devel-1.2.1-1
libxml2-2.9.12-1
libxml2_devel-2.9.12-1
libxslt-1.1.34-3
live555-2016.06.22-5
live555_devel-2016.06.22-5
llvm7-7.0.1-2
llvm7_libs-7.0.1-2
llvm9-9.0.1-2
llvm9_libs-9.0.1-2
m4-1.4.18-3
make-4.1-4
mandoc-1.14.3-2
mawk-1.3.4_20171017-1
mercurial-4.9.1-1
mesa-17.1.10-6
mesa_devel-17.1.10-6
mesa_swpipe-17.1.10-6
mesa-21.2.3-2
mesa_devel-21.2.3-2
mesa_swpipe-21.2.3-2
mkdepend-1.7-5
mpc-1.2.1-1
mpfr-4.1.0-1
nano-5.7-1
nano-5.9-1
nasm-2.14.02-2
ncurses6-6.2-1
ncurses6_devel-6.2-1
@ -177,9 +177,9 @@ RemotePackageRepository HaikuPorts
openexr_devel-2.4.1-1
openjpeg-2.4.0-1
openjpeg_devel-2.4.0-1
openssh-8.6p1-2
openssl-1.1.1k-1
openssl_devel-1.1.1k-1
openssh-8.8p1-1
openssl-1.1.1l-1
openssl_devel-1.1.1l-1
opus-1.3.1-1
opus_devel-1.3.1-1
p7zip-17.04-2
@ -189,7 +189,7 @@ RemotePackageRepository HaikuPorts
pe-2.4.5-8
perl-5.32.1-1
pkgconfig-0.29.2-4
python3-3.7.10-5
python3-3.7.12-1
qrencode_kdl_devel-3.4.4-2
readline-8.1-1
sed-4.8-1
@ -200,13 +200,13 @@ RemotePackageRepository HaikuPorts
soxr_devel-0.1.3-1
speex-1.2.0-4
speex_devel-1.2.0-4
sqlite-3.34.1.0-1
sqlite-3.36.0.0-1
subversion-1.14.1-1
subversion_devel-1.14.1-1
taglib-1.12-1
taglib_devel-1.12-1
tar-1.34-1
tcpdump-4.9.2-1
tcpdump-4.99.1-1
texinfo-6.7-3
tiff4-4.2.0-1
tiff4_devel-4.2.0-1
@ -307,7 +307,7 @@ RemotePackageRepository HaikuPorts
libxml2
libxslt
live555
llvm7
llvm9
m4
make
mandoc

View File

@ -5,7 +5,7 @@ RemotePackageRepository HaikuPorts
# architecture "any" packages
be_book-2008_10_26-3
ca_root_certificates-2021_07_05-1
haikuporter-1.2.4-1
haikuporter-1.2.5-1
noto-20200106-1
noto_sans_cjk_jp-1.004-2
timgmsoundfont-fixed-5
@ -17,34 +17,33 @@ RemotePackageRepository HaikuPorts
# repository architecture packages
# primary architecture (x86_gcc2)
autoconf-2.69-8
automake-1.16.3-1
bash-5.1-1
automake-1.16.5-1
bash-5.1.008-1
bc-1.07.1-2
bepdf-2.1.4-2
binutils-2.17_2016_07_24-4
bison-3.0.5-1
bzip2-1.0.8-1
bzip2_devel-1.0.8-1
cdrtools-3.02~a09-1
cdrtools_devel-3.02~a09-1
cdrtools-3.02~a09-2
cdrtools_devel-3.02~a09-2
ctags-5.8-5
coreutils-8.24-2
curl-7.78.0-1
curl_devel-7.78.0-1
curl-7.79.1-1
curl_devel-7.79.1-1
diffutils-3.7-1
expat-2.4.1-1
expat_devel-2.4.1-1
ffmpeg-4.2.2-9
ffmpeg_devel-4.2.2-9
file-5.40-1
file_data-5.40-1
file-5.41-1
file_data-5.41-1
findutils-4.6.0-1
flex-2.6.4-2
fluidlite_devel-1.0.0-3
fontconfig-2.13.92-1
fontconfig_devel-2.13.92-1
freetype-2.10.4-3
freetype_devel-2.10.4-3
freetype-2.11.0-2
freetype_devel-2.11.0-2
gettext_libintl-0.19.8.1-7
gcc-2.95.3_2017_07_20-2
gcc_syslibs_devel-2.95.3_2017_07_20-2
@ -75,15 +74,15 @@ RemotePackageRepository HaikuPorts
libiconv-1.16-1
libicns-0.8.1-8
libicns_devel-0.8.1-8
libjpeg_turbo-2.1.0-1
libjpeg_turbo_devel-2.1.0-1
libjpeg_turbo-2.1.1-1
libjpeg_turbo_devel-2.1.1-1
liblayout-1.4.1-8
libmodplug-0.8.9.0-1
libogg-1.3.5-1
libogg_devel-1.3.5-1
libpcap-1.8.1-4
libpcap_devel-1.8.1-4
libpcre-8.44-1
libpcre-8.45-1
libpcre2-10.37-1
libpng16-1.6.37-1
libpng16_devel-1.6.37-1
@ -100,8 +99,8 @@ RemotePackageRepository HaikuPorts
libvorbis-1.3.7-1
libvorbis_devel-1.3.7-1
libvpx-1.0.0-2
libwebp-1.1.0-2
libwebp_devel-1.1.0-2
libwebp-1.2.1-1
libwebp_devel-1.2.1-1
libxml2-2.9.12-1
libxml2_devel-2.9.12-1
live555-2016.06.22-5
@ -121,9 +120,9 @@ RemotePackageRepository HaikuPorts
openexr_devel-2.2.1-3
openjpeg-2.1.2-3
openjpeg_devel-2.1.2-3
openssh-8.6p1-2
openssl-1.1.1k-1
openssl_devel-1.1.1k-1
openssh-8.8p1-1
openssl-1.1.1l-1
openssl_devel-1.1.1l-1
opus-1.3.1-1
opus_devel-1.3.1-1
patch-2.7.5-3
@ -138,10 +137,10 @@ RemotePackageRepository HaikuPorts
sharutils-4.15.2-3
speex-1.2.0-4
speex_devel-1.2.0-4
sqlite-3.34.1.0-1
sqlite-3.36.0.0-1
taglib-1.7.2-3
taglib_devel-1.7.2-3
tcpdump-4.9.2-1
tcpdump-4.99.1-1
texinfo-6.1-7
tiff4-4.2.0-1
tiff4_devel-4.2.0-1
@ -159,15 +158,16 @@ RemotePackageRepository HaikuPorts
zstd_devel-1.5.0-2
# secondary architecture (x86)
binutils_x86-2.26.1_2016_07_22-6
bison_x86-3.7.6-1
bison_x86-3.8.2-1
bzip2_x86-1.0.8-1
bzip2_x86_devel-1.0.8-1
cdrtools_x86-3.02~a09-1
cdrtools_x86_devel-3.02~a09-1
curl_x86-7.78.0-1
curl_x86_devel-7.78.0-1
dav1d_x86-0.9.1-1
dav1d_x86_devel-0.9.1-1
cdrtools_x86-3.02~a09-2
cdrtools_x86_devel-3.02~a09-2
coreutils_x86-9.0-6
curl_x86-7.79.1-1
curl_x86_devel-7.79.1-1
dav1d_x86-0.9.2-1
dav1d_x86_devel-0.9.2-1
enca_x86-1.19-2
enca_x86_devel-1.19-2
expat_x86-2.4.1-1
@ -178,27 +178,27 @@ RemotePackageRepository HaikuPorts
fluidlite_x86_devel-1.0.0-3
fontconfig_x86-2.13.92-1
fontconfig_x86_devel-2.13.92-1
freetype_x86-2.10.4-3
freetype_x86_devel-2.10.4-3
fribidi_x86-1.0.10-1
fribidi_x86_devel-1.0.10-1
freetype_x86-2.11.0-2
freetype_x86_devel-2.11.0-2
fribidi_x86-1.0.11-1
fribidi_x86_devel-1.0.11-1
game_music_emu_x86-0.6.3-1
game_music_emu_x86_devel-0.6.3-1
gcc_x86-8.3.0_2019_05_24-10
gcc_x86_syslibs-8.3.0_2019_05_24-10
gcc_x86_syslibs_devel-8.3.0_2019_05_24-10
gcc_x86-11.2.0_2021_07_28-5
gcc_x86_syslibs-11.2.0_2021_07_28-5
gcc_x86_syslibs_devel-11.2.0_2021_07_28-5
gettext_x86-0.19.8.1-7
gettext_x86_libintl-0.19.8.1-7
giflib_x86-5.2.1-1
giflib_x86_devel-5.2.1-1
glu_x86-9.0.0-7
glu_x86_devel-9.0.0-7
gmp_x86-6.2.1-1
gmp_x86-6.2.1-2
graphite2_x86-1.3.14-1
graphite2_x86_devel-1.3.14-1
grep_x86-3.6-2
haikuwebkit_x86-1.8.2-2
haikuwebkit_x86_devel-1.8.2-2
haikuwebkit_x86-1.8.4-1
haikuwebkit_x86_devel-1.8.4-1
harfbuzz_x86-2.8.1-1
harfbuzz_x86_devel-2.8.1-1
icu66_x86-66.1-2
@ -219,28 +219,28 @@ RemotePackageRepository HaikuPorts
libffi_x86-3.4.2-1
libffi_x86_devel-3.4.2-1
libgcrypt_x86-1.8.5-1
libgpg_error_x86-1.36-1
libgpg_error_x86-1.36-2
libiconv_x86-1.16-1
libiconv_x86_devel-1.16-1
libicns_x86-0.8.1-8
libicns_x86_devel-0.8.1-8
libidn2_x86-2.0.5-2
libjpeg_turbo_x86-2.1.0-1
libjpeg_turbo_x86_devel-2.1.0-1
libjpeg_turbo_x86-2.1.1-1
libjpeg_turbo_x86_devel-2.1.1-1
libmodplug_x86-0.8.9.0-1
libogg_x86-1.3.5-1
libogg_x86_devel-1.3.5-1
libopenmpt_x86-0.5.9-1
libopenmpt_x86_devel-0.5.9-1
libpcre_x86-8.44-1
libpcre_x86_devel-8.44-1
libopenmpt_x86-0.5.13-1
libopenmpt_x86_devel-0.5.13-1
libpcre_x86-8.45-1
libpcre_x86_devel-8.45-1
libpng16_x86-1.6.37-1
libpng16_x86_devel-1.6.37-1
libsolv_x86-0.3.0_haiku_2014_12_22-3
libsolv_x86_devel-0.3.0_haiku_2014_12_22-3
libssh2_x86-1.9.0-2
libssh2_x86_devel-1.9.0-2
libtasn1_x86-4.16.0-1
libtasn1_x86-4.17.0-1
libtheora_x86-1.1.1-7
libtheora_x86_devel-1.1.1-7
libtool_x86-2.4.6-2
@ -250,18 +250,18 @@ RemotePackageRepository HaikuPorts
libvorbis_x86_devel-1.3.7-1
libvpx_x86-1.10.0-1
libvpx_x86_devel-1.10.0-1
libwebp_x86-1.1.0-2
libwebp_x86_devel-1.1.0-2
libwebp_x86-1.2.1-1
libwebp_x86_devel-1.2.1-1
libxml2_x86-2.9.12-1
libxml2_x86_devel-2.9.12-1
libxslt_x86-1.1.34-3
live555_x86-2016.06.22-5
live555_x86_devel-2016.06.22-5
llvm7_x86_libs-7.0.1-2
mesa_x86-17.1.10-6
mesa_x86_devel-17.1.10-6
mesa_x86_swpipe-17.1.10-6
nano_x86-5.7-1
llvm9_x86_libs-9.0.1-2
mesa_x86-21.2.3-2
mesa_x86_devel-21.2.3-2
mesa_x86_swpipe-21.2.3-2
nano_x86-5.9-1
nasm_x86-2.14.02-2
ncurses6_x86-6.2-1
ncurses6_x86_devel-6.2-1
@ -273,13 +273,13 @@ RemotePackageRepository HaikuPorts
openexr_x86_devel-2.4.1-1
openjpeg_x86-2.4.0-1
openjpeg_x86_devel-2.4.0-1
openssl_x86-1.1.1k-1
openssl_x86_devel-1.1.1k-1
openssl_x86-1.1.1l-1
openssl_x86_devel-1.1.1l-1
opus_x86-1.3.1-1
opus_x86_devel-1.3.1-1
p7zip_x86-17.04-2
pkgconfig_x86-0.29.2-4
python3_x86-3.7.10-5
python3_x86-3.7.12-1
readline_x86-8.1-1
sharutils_x86-4.15.2-3
snappy_x86-1.1.8-1
@ -288,7 +288,7 @@ RemotePackageRepository HaikuPorts
soxr_x86_devel-0.1.3-1
speex_x86-1.2.0-4
speex_x86_devel-1.2.0-4
sqlite_x86-3.34.1.0-1
sqlite_x86-3.36.0.0-1
taglib_x86-1.12-1
taglib_x86_devel-1.12-1
tar_x86-1.34-1
@ -316,7 +316,7 @@ RemotePackageRepository HaikuPorts
bzip2
cdrtools
cdrtools_x86
coreutils
coreutils_x86
ctags
curl
dav1d_x86
@ -390,7 +390,7 @@ RemotePackageRepository HaikuPorts
libxml2
libxslt
live555
llvm7_x86
llvm9_x86
m4
make
mandoc

View File

@ -6,38 +6,40 @@ BootstrapPackageRepository HaikuPortsCross
noto-20170202-7
:
# repository architecture packages (stage 0)
gcc_bootstrap-8.3.0_2019_05_24-1
gcc_bootstrap_syslibs-8.3.0_2019_05_24-1
gcc_bootstrap_syslibs_devel-8.3.0_2019_05_24-1
gcc_bootstrap-11.2.0_2021_07_28-5
gcc_bootstrap_syslibs-11.2.0_2021_07_28-5
gcc_bootstrap_syslibs_devel-11.2.0_2021_07_28-5
:
# repository architecture packages (stage 1)
bash_bootstrap-4.4.023-1
binutils_bootstrap-2.28.1_2017_08_05-1
binutils_bootstrap-2.36.1_2021_09_21-2
bison_bootstrap-3.0.5-1
coreutils_bootstrap-8.22-1
curl_bootstrap-7.40.0-1
curl_bootstrap_devel-7.40.0-1
expat_bootstrap-2.1.0-1
expat_bootstrap_devel-2.1.0-1
expat_bootstrap-2.4.1-1
expat_bootstrap_devel-2.4.1-1
findutils_bootstrap-4.6.0-1
flex_bootstrap-2.5.35-1
freetype_bootstrap-2.6.3-1
freetype_bootstrap_devel-2.6.3-1
gawk_bootstrap-3.1.8-2
grep_bootstrap-2.14-1
icu_bootstrap-57.1-2
icu_bootstrap_devel-57.1-2
icu_bootstrap-57.2-1
icu_bootstrap_devel-57.2-1
less_bootstrap-451-1
m4_bootstrap-1.4.16-1
make_bootstrap-4.1-2
mawk_bootstrap-1.3.4-1
ncurses6_bootstrap-6.0-1
ncurses6_bootstrap_devel-6.0-1
python_bootstrap-2.7.6-1
make_bootstrap-4.3-1
ncurses6_bootstrap-6.2-1
ncurses6_bootstrap_devel-6.2-1
libffi_bootstrap-3.3-1
python_bootstrap-3.9.1-1
sed_bootstrap-4.2.1-1
texinfo_bootstrap-4.13a-1
zlib_bootstrap-1.2.11-1
zlib_bootstrap_devel-1.2.11-1
zstd_bootstrap-1.5.0-2
zstd_bootstrap_devel-1.5.0-2
:
# repository architecture packages (stage 2)
libsolv_bootstrap-0.3.0_haiku_2014_12_22-1
@ -53,7 +55,6 @@ BootstrapPackageRepository HaikuPortsCross
findutils_bootstrap
flex_bootstrap
freetype_bootstrap
mawk_bootstrap
gawk_bootstrap
gcc_bootstrap
grep_bootstrap
@ -66,6 +67,7 @@ BootstrapPackageRepository HaikuPortsCross
sed_bootstrap
texinfo_bootstrap
zlib_bootstrap
zstd_bootstrap
:
# debuginfo packages
;

View File

@ -6,19 +6,19 @@ BootstrapPackageRepository HaikuPortsCross
noto-20170202-7
:
# repository architecture packages (stage 0)
gcc_bootstrap-8.3.0_2021_02_27-1
gcc_bootstrap_syslibs-8.3.0_2021_02_27-1
gcc_bootstrap_syslibs_devel-8.3.0_2021_02_27-1
gcc_bootstrap-8.3.0_2021_09_21-1
gcc_bootstrap_syslibs-8.3.0_2021_09_21-1
gcc_bootstrap_syslibs_devel-8.3.0_2021_09_21-1
:
# repository architecture packages (stage 1)
bash_bootstrap-4.4.023-1
binutils_bootstrap-2.28.1_2017_08_05-1
binutils_bootstrap-2.36.1_2021_09_21-1
bison_bootstrap-3.0.5-1
coreutils_bootstrap-8.22-1
curl_bootstrap-7.40.0-1
curl_bootstrap_devel-7.40.0-1
expat_bootstrap-2.1.0-1
expat_bootstrap_devel-2.1.0-1
expat_bootstrap-2.4.1-1
expat_bootstrap_devel-2.4.1-1
findutils_bootstrap-4.6.0-1
flex_bootstrap-2.5.35-1
freetype_bootstrap-2.6.3-1
@ -29,7 +29,7 @@ BootstrapPackageRepository HaikuPortsCross
icu_bootstrap_devel-67.1-1
less_bootstrap-451-1
m4_bootstrap-1.4.16-1
make_bootstrap-4.1-2
make_bootstrap-4.3-1
ncurses6_bootstrap-6.0-1
ncurses6_bootstrap_devel-6.0-1
libffi_bootstrap-3.3-1
@ -38,6 +38,8 @@ BootstrapPackageRepository HaikuPortsCross
texinfo_bootstrap-4.13a-1
zlib_bootstrap-1.2.11-1
zlib_bootstrap_devel-1.2.11-1
zstd_bootstrap-1.5.0-2
zstd_bootstrap_devel-1.5.0-2
:
# repository architecture packages (stage 2)
libsolv_bootstrap-0.3.0_haiku_2014_12_22-1
@ -65,6 +67,7 @@ BootstrapPackageRepository HaikuPortsCross
sed_bootstrap
texinfo_bootstrap
zlib_bootstrap
zstd_bootstrap
:
# debuginfo packages
;

View File

@ -6,35 +6,37 @@ BootstrapPackageRepository HaikuPortsCross
noto-20170202-7
:
# repository architecture packages (stage 0)
gcc_bootstrap-8.3.0_2021_02_27-1
gcc_bootstrap_syslibs-8.3.0_2021_02_27-1
gcc_bootstrap_syslibs_devel-8.3.0_2021_02_27-1
gcc_bootstrap-11.2.0_2021_07_28-3
gcc_bootstrap_syslibs-11.2.0_2021_07_28-3
gcc_bootstrap_syslibs_devel-11.2.0_2021_07_28-3
:
# repository architecture packages (stage 1)
bash_bootstrap-4.4.023-1
binutils_bootstrap-2.28.1_2017_08_05-1
binutils_bootstrap-2.36.1_2021_09_21-2
bison_bootstrap-3.0.5-1
coreutils_bootstrap-8.22-1
curl_bootstrap-7.40.0-1
curl_bootstrap_devel-7.40.0-1
expat_bootstrap-2.1.0-1
expat_bootstrap_devel-2.1.0-1
expat_bootstrap-2.4.1-1
expat_bootstrap_devel-2.4.1-1
findutils_bootstrap-4.6.0-1
flex_bootstrap-2.5.35-1
freetype_bootstrap-2.6.3-1
freetype_bootstrap_devel-2.6.3-1
gawk_bootstrap-3.1.8-2
grep_bootstrap-2.14-1
icu_bootstrap-57.2-2
icu_bootstrap_devel-57.2-2
icu_bootstrap-67.1-2
icu_bootstrap_devel-67.1-2
less_bootstrap-451-1
m4_bootstrap-1.4.16-1
make_bootstrap-4.1-2
ncurses6_bootstrap-6.0-1
ncurses6_bootstrap_devel-6.0-1
make_bootstrap-4.3-1
ncurses6_bootstrap-6.2-1
ncurses6_bootstrap_devel-6.2-1
python_bootstrap-2.7.6-1
sed_bootstrap-4.2.1-1
texinfo_bootstrap-4.13a-1
zstd_bootstrap-1.5.0-2
zstd_bootstrap_devel-1.5.0-2
zlib_bootstrap-1.2.11-1
zlib_bootstrap_devel-1.2.11-1
:
@ -63,6 +65,7 @@ BootstrapPackageRepository HaikuPortsCross
python_bootstrap
sed_bootstrap
texinfo_bootstrap
zstd_bootstrap
zlib_bootstrap
:
# debuginfo packages

View File

@ -6,31 +6,31 @@ BootstrapPackageRepository HaikuPortsCross
noto-20170202-7
:
# repository architecture packages (stage 0)
gcc_bootstrap-8.3.0_2019_05_24-1
gcc_bootstrap_syslibs-8.3.0_2019_05_24-1
gcc_bootstrap_syslibs_devel-8.3.0_2019_05_24-1
gcc_bootstrap-8.3.0_2021_09_21-1
gcc_bootstrap_syslibs-8.3.0_2021_09_21-1
gcc_bootstrap_syslibs_devel-8.3.0_2021_09_21-1
:
# repository architecture packages (stage 1)
bash_bootstrap-4.4.023-1
binutils_bootstrap-2.28.1_2017_08_05-1
binutils_bootstrap-2.36.1_2021_09_21-1
bison_bootstrap-3.0.5-1
coreutils_bootstrap-8.22-1
curl_bootstrap-7.40.0-1
curl_bootstrap_devel-7.40.0-1
expat_bootstrap-2.1.0-1
expat_bootstrap_devel-2.1.0-1
expat_bootstrap-2.4.1-1
expat_bootstrap_devel-2.4.1-1
findutils_bootstrap-4.6.0-1
flex_bootstrap-2.5.35-1
freetype_bootstrap-2.6.3-1
freetype_bootstrap_devel-2.6.3-1
gawk_bootstrap-3.1.8-2
grep_bootstrap-2.14-1
icu_bootstrap-57.1-2
icu_bootstrap_devel-57.1-2
icu_bootstrap-67.1-1
icu_bootstrap_devel-67.1-1
less_bootstrap-451-1
m4_bootstrap-1.4.16-1
make_bootstrap-4.1-2
make_bootstrap-4.3-1
ncurses6_bootstrap-6.0-1
ncurses6_bootstrap_devel-6.0-1
python_bootstrap-2.7.6-1
@ -38,6 +38,8 @@ BootstrapPackageRepository HaikuPortsCross
texinfo_bootstrap-4.13a-1
zlib_bootstrap-1.2.11-1
zlib_bootstrap_devel-1.2.11-1
zstd_bootstrap-1.5.0-2
zstd_bootstrap_devel-1.5.0-2
:
# repository architecture packages (stage 2)
@ -67,6 +69,7 @@ BootstrapPackageRepository HaikuPortsCross
sed_bootstrap
texinfo_bootstrap
zlib_bootstrap
zstd_bootstrap
:
# debuginfo packages
;

19
configure vendored
View File

@ -93,6 +93,7 @@ options:
specify the path to a GDB source dir, to build
GDB for each arch we build the cross-tools for.
--use-stack-protector Build with stack protection enabled
--efi-signing-key Private keyfile to sign any EFI bootloaders
environment variables:
CC The host compiler. Defaults to "gcc".
@ -450,7 +451,7 @@ check_native_xattrs()
xattr_set="setextattr"; xattr_set_args="user \$NAME \"\$VALUE\""
xattr_get="getextattr"; xattr_get_args="user \$NAME"
;;
linux|msys)
linux)
xattr_set="setfattr"; xattr_set_args="-n user.\$NAME -v \"\$VALUE\""
xattr_get="getfattr"; xattr_get_args="-n user.\$NAME"
;;
@ -601,7 +602,6 @@ case "${platform}" in
Haiku) HOST_PLATFORM=haiku_host ;;
Linux) HOST_PLATFORM=linux ;;
OpenBSD) HOST_PLATFORM=openbsd ;;
MSYS*) HOST_PLATFORM=msys ;;
*) echo Unsupported platform: ${platform}
exit 1 ;;
esac
@ -805,6 +805,11 @@ while [ $# -gt 0 ] ; do
--no-xattr) HAIKU_HOST_USE_XATTR_REF=0; shift 1;;
--with-gdb) gdbSources=$2; shift 2;;
--use-stack-protector) HAIKU_USE_STACK_PROTECTOR=1; shift 1;;
--efi-signing-key)
assertparam "$1" $#
HAIKU_EFI_SIGNING_KEY="$2"
shift 2
;;
*) echo Invalid argument: \`$1\'; exit 1;;
esac
done
@ -1040,12 +1045,9 @@ else
get_build_tool_path ELFEDIT_$targetArch elfedit
elif [ -n "$crossToolsPrefix" ]; then
get_build_tool_path LD_$targetArch ${crossToolsPrefix}ld
case `get_variable HAIKU_GCC_RAW_VERSION_$targetArch` in
4.*|5.*|6.*|7.*|8.*)
get_build_tool_path ELFEDIT_$targetArch \
${crossToolsPrefix}elfedit
;;
esac
if [ `get_variable HAIKU_CC_IS_LEGACY_GCC_$targetArch` -eq 0 ]; then
get_build_tool_path ELFEDIT_$targetArch ${crossToolsPrefix}elfedit
fi
fi
if [ -n "$crossToolsPrefix" ]; then
get_build_tool_path AR_$targetArch ${crossToolsPrefix}ar
@ -1116,6 +1118,7 @@ HAIKU_PORTS ?= ${HAIKU_PORTS} ;
HAIKU_PORTS_CROSS ?= ${HAIKU_PORTS_CROSS} ;
HAIKU_IS_BOOTSTRAP ?= ${HAIKU_IS_BOOTSTRAP} ;
HAIKU_BOOT_EFI_PRIVATE_KEYFILE ?= ${HAIKU_EFI_SIGNING_KEY} ;
EOF
for targetArch in $HAIKU_PACKAGING_ARCHS; do

BIN
data/boot/efi/keys/DB.auth Normal file

Binary file not shown.

BIN
data/boot/efi/keys/DB.cer Normal file

Binary file not shown.

19
data/boot/efi/keys/DB.crt Normal file
View File

@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDEzCCAfugAwIBAgIUX+q+28/np8o/Vg64GrIN8CEcEA8wDQYJKoZIhvcNAQEL
BQAwGTEXMBUGA1UEAwwOSGFpa3UsIEluYy4gREIwHhcNMjIwMjA2MTk1MTQzWhcN
NDIwMjA2MTk1MTQzWjAZMRcwFQYDVQQDDA5IYWlrdSwgSW5jLiBEQjCCASIwDQYJ
KoZIhvcNAQEBBQADggEPADCCAQoCggEBAKn6b6J60zU5L+UPXhHbJ2epyoQ+YKAo
6L7gmk79nBFOqidX10wfBFijZxdPvBeGHlMpmukjdgGNbOHKqYrYLsJHhrd/IZ+T
TMSa+ZD2d+2dSgn+jYQji3mOVnrb2xemRo9+IDiC37cEVAmOO1t5E0NmyM2rm2p0
HeShbLbcg+78mpgs3mDTzWbq4p7VRVdxjDI1i7108aaf2dVpDbh3Q0ipO9YEoTQq
3cXUeQ4IiR7FFzPlEZHSViSi3Fieg4GTHjkhZG3HLHYGEuR/B8lA9+S4uvYCiV8n
t/NVC6osnUBCKyl+00gLLohQGkNGDZXGZNwcIH9tls/AHysoNPrpI98CAwEAAaNT
MFEwHQYDVR0OBBYEFNganI/FIKluRVA+9LbrNDAZSjJBMB8GA1UdIwQYMBaAFNga
nI/FIKluRVA+9LbrNDAZSjJBMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL
BQADggEBAAGz7qdUBHtk30JlB3M+z6Z78tIfz288SV+eekO+rl+8Fo+M+qSB6OrO
j1VcUSEQgbLFqoJz9haoEyUxXP8g/XWNx5n9gbPWZQHwva1AN9PHw4modF1XDCAV
N1F3pQ1atz3K+fOZWU6peDyoQEKI2szAtNycoV7x5SXFPybyyC4yPCW3ijou9sxW
D8jPECU+6RTh93pFptL+/KPFcLOi5ihCyMApqjNSvOox6m0LFUxCSpBJIk0QBOPQ
PHDAiSkkQaOHfA/5AnU/iyedsBYBlnY40drY4DGEntRG5yiMhvRjfmFfEufujCiZ
OVrndpb+VY6W5EzvGusu3HeSaMywj8w=
-----END CERTIFICATE-----

View File

@ -0,0 +1,37 @@
# Haiku UEFI Keys
The EFI keys in this directory can be used to boot Haiku in UEFI Secure Mode.
The Haiku, Inc. key must be appended to your EFI BIOS trusted keychain to function.
> This is only needed when you're booting in EFI Secure Boot mode! It's probably
> easier to disable EFI Secure Boot in most cases.
## Installing UEFI Keys
To trust Haiku's EFI bootloader, you'll need to append our DB key to your BIOS's
DB keychain.
> Ensure the Haiku installation media is inserted / plugged into your computer.
Real world examples:
* Dell XPS 13 Laptop (Dell BIOS)
* Boot laptop, press F2 to enter BIOS
* Settings -> Secure Boot -> Secure Boot Enable
* Verify Secure Boot is enabled, otherwise this does nothing.
* Settings -> Secure Boot -> Expert Key Management
* "Enable Custom Mode" checked
* Press "Reset All Keys"
* Choose db, then press "Append from File"
* Navigate to the Haiku USB installation media
* EFI -> KEYS -> DB.auth
* Framework Laptop (InsydeH20 BIOS)
* Boot laptop, press F2 to enter BIOS
* Security -> Secure Boot
* Enforce Secure Boot enabled
* DB Options -> Enroll Signature -> PKCS7
* Haiku ESP -> KEYS -> DB.cer
* (you can leave the "Owner_GUID" blank)
* Enroll DB.cer -> Yes
* F10, Save and Exit

View File

@ -6,6 +6,18 @@ MacRISC MacRISC3 MacRISC4
Haiku for PowerPC
</description>
<boot-script>
" screen" output
load-base release-load-area
" /cpus/@0" find-package if
" 64-bit" rot get-package-property 0= if
2drop
." Booting Haiku for PowerPC (64-bit)..."
" boot cd:,\\haikuloader.elf" eval
else
." Booting Haiku for PowerPC (32-bit)..."
" boot cd:,\\haikuloader.elf" eval
then
then
boot cd:,\\haikuloader.elf
</boot-script>
<icon size=64,64 color-space=3,3,2>

View File

@ -11,9 +11,8 @@ test -e ${media} 0 ${loader} && echo "Found ${loader} on ${media} 0!"
echo "Loading bootloader..."
fatload ${media} 0 ${kernel_addr_r} ${loader}
test -e ${media} 0 haiku_floppyboot.ub && fatload ${media} 0 ${ramdisk_addr_r} haiku_floppyboot.ub
env exists dtb && echo "Using custom DTB..." && fatload ${media} 0 ${fdt_addr_r} ${dtb} && fdt addr ${fdt_addr_r}
env exists dtb || echo "Using internal DTB..." && fdt addr ${fdtcontroladdr}
test "${platform}" = "efi" && echo "Launching EFI loader..." && bootefi ${kernel_addr_r}
test "${platform}" = "u-boot" && env exists dtb && echo "Launching ub loader..." && bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdtcontroladdr}
test "${platform}" = "u-boot" && env exists dtb || echo "Launching ub loader (w/custom fdt)..." && bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
env exists dtb && echo "Using custom DTB..." && fatload ${media} 0 ${fdt_addr_r} ${dtb}
env exists dtb || echo "Using internal DTB..." && setenv fdt_addr_r ${fdtcontroladdr}
test "${platform}" = "efi" && echo "Launching EFI loader..." && bootefi ${kernel_addr_r} ${fdt_addr_r}
test "${platform}" = "u-boot" && echo "Launching ub loader..." && bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
echo "Haiku u-boot script fell through!" && exit

View File

@ -1,4 +1,4 @@
1 indonesian x-vnd.Haiku-FATAddOn 2766737426
Auto (default) FAT_Initialize_Parameter Auto (bawaan standar)
Auto (default) FAT_Initialize_Parameter Otomatis (baku)
FAT bits: FAT_Initialize_Parameter Bit FAT:
Name: FAT_Initialize_Parameter Nama:

View File

@ -1,9 +1,11 @@
1 indonesian x-vnd.Haiku-KeyboardInputServerDevice 2228550365
1 indonesian x-vnd.Haiku-KeyboardInputServerDevice 131044710
If the application will not quit you may have to kill it. Team monitor Jika aplikasi tidak mau keluar anda mungkin harus mematikannya.
Quit application Team monitor Keluar dari aplikasi
Restart the desktop Team monitor Start ulang desktop
Quit application Team monitor Keluar aplikasi
Open Terminal Team monitor Buka Terminal
{0, plural,one{Hold CONTROL+ALT+DELETE for # second to reboot.}other{Hold CONTROL+ALT+DELETE for # seconds to reboot.}} Team monitor {0, plural,one{Tahan CONTROL+ALT+DELETE selama # detik untuk mulai ulang.}other{Tahan CONTROL+ALT+DELETE selama # detik untuk mulai ulang.}}
Restart the desktop Team monitor Mulai ulang desktop
Force reboot Team monitor Paksa restart
Team monitor Team monitor Monitor tim
Team monitor Team monitor Pemantau tim
Kill application Team monitor Matikan aplikasi
Cancel Team monitor Batal
(This team is a system component) Team monitor (Tim ini adalah komponen sistem)

View File

@ -5,7 +5,7 @@ Open Terminal Team monitor Uçbirim'i aç
{0, plural,one{Hold CONTROL+ALT+DELETE for # second to reboot.}other{Hold CONTROL+ALT+DELETE for # seconds to reboot.}} Team monitor {0, plural, other{Yeniden başlatmak için CTRL+ALT+DEL'i # saniye basılı tutun.}}
Restart the desktop Team monitor Masaüstü'nü yeniden başlat
Force reboot Team monitor Yeniden başlatmaya zorla
Team monitor Team monitor Takım monitörü
Team monitor Team monitor Takım Monitörü
Kill application Team monitor Uygulamayı sonlandır
Cancel Team monitor İptal
(This team is a system component) Team monitor (Bu takım bir sistem parçasıdır)

View File

@ -2,13 +2,13 @@
Delete message ConfigView Hapus pesan
Match \"%attribute\" against \"%regex\" RuleFilter Cocokkan \"%attribute\" terhadap \"%regex\"
Match header RuleFilter Cocokan tajuk
Set flags to ConfigView Setel bendera ke
Set flags to ConfigView Atur bendera ke
Header field (e.g. Subject, From, …) ConfigView Bidang tajuk (misal. Subyek, Dari, …)
<Choose account> ConfigView <Pilih akun>
Wildcard value like \"*spam*\".\nPrefix with \"REGEX:\" in order to use regular expressions. ConfigView Nilai wildcard seperti \"*spam*\".\nDiawali dengan \"REGEX:\" untuk menggunakan expresi-ekspresi reguler.
Then ConfigView Kemudian
If ConfigView Jika
Set as read ConfigView Setel telah dibaca
Set as read ConfigView Atur sebagai dibaca
Reply with ConfigView Balas dengan
<Choose action> ConfigView <Pilih tindakan>
Move to ConfigView Pindahkan ke

View File

@ -1,12 +1,12 @@
1 german x-vnd.Haiku-IMAP 1343128980
Could not connect to server \"%server%\":\n%error% IMAPFolderConfig Keine Verbindung zum Server \"%server%\":\n%error%
Updating subscriptions to IMAP folders, please be patient… IMAPFolderConfig Abonnements der IMAP-Ordner werden aktualisiert, bitte warten…
Updating subscriptions to IMAP folders, please be patient… IMAPFolderConfig Abonnements der IMAP-Ordner werden aktualisiert, bitte warten
Failed to fetch available storage. IMAPFolderConfig Keine der vorhandenen Ablagen konnte übertragen werden.
Cancel IMAPFolderConfig Abbrechen
OK IMAPFolderConfig OK
Server storage: %s / %s used. IMAPFolderConfig Serverspeicher: %s / %s belegt.
No encryption imap_config Keine Verschlüsselung
Fetching IMAP folders, please be patient… IMAPFolderConfig IMAP-Ordner werden angefordert, bitte warten…
Fetching IMAP folders, please be patient… IMAPFolderConfig IMAP-Ordner werden angefordert, bitte warten
Configure IMAP Folders imap_config IMAP-Ordner konfigurieren
SSL imap_config SSL
Apply IMAPFolderConfig Anwenden

View File

@ -1,18 +1,18 @@
1 german x-vnd.Haiku-POP3 3335299031
Sending username… pop3 Benutzername wird gesendet…
Connect to server… pop3 Mit Server verbinden…
Sending username… pop3 Benutzername wird gesendet
Connect to server… pop3 Mit Server verbinden
APOP ConfigView APOP
Connecting to POP3 server… pop3 Mit POP3-Server verbinden…
Connecting to POP3 server… pop3 Mit POP3-Server verbinden
: The server does not support APOP. pop3 : APOP wird vom Server nicht unterstützt.
Error while authenticating user %user pop3 Fehler beim Authentifizieren von Benutzer %user
Destination: ConfigView Zielverzeichnis:
. The server said:\n pop3 . Servermeldung:\n
Plain text ConfigView Klartext
Getting mailbox size… pop3 Postfachgröße wird ermittelt…
Getting mailbox size… pop3 Postfachgröße wird ermittelt
Error while connecting to server %serv pop3 Fehler beim Verbinden mit Server %serv
Getting UniqueIDs… pop3 UniqueIDs werden empfangen…
Sending password… pop3 Passwort wird gesendet…
Getting UniqueIDs… pop3 UniqueIDs werden empfangen
Sending password… pop3 Passwort wird gesendet
No encryption ConfigView Keine Verschlüsselung
SSL ConfigView SSL
: No reply.\n pop3 : Keine Antwort.\n
Sending APOP authentication… pop3 APOP-Authentifizierung wird gesendet…
Sending APOP authentication… pop3 APOP-Authentifizierung wird gesendet

View File

@ -2,7 +2,7 @@
POP3 authentication failed. The server said:\n smtp POP3-Authentifizierung fehlgeschlagen. Servermeldung:\n
Destination: ConfigView Zielverzeichnis:
Error while logging in to %serv smtp Fehler beim Anmelden an %serv
Connecting to server… smtp Mit Server verbinden…
Connecting to server… smtp Mit Server verbinden
Unencrypted ConfigView Unverschlüsselt
. The server says:\n smtp . Servermeldung:\n
Error while opening connection to %serv smtp Fehler beim Verbinden mit %serv

View File

@ -1,27 +1,21 @@
1 belarusian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Уваходныя рэгулятары узмацнення
Linear interpolation AudioMixer Линейная iнтэрпаляцыя
Virtual output channels AudioMixer Вiртуальныя выхадныя каналы
Refuse output format changes AudioMixer Адмовіць змяняць выхадны фармат
Output mapping AudioMixer Мапа вывадаў
Allow input channel remapping AudioMixer Дазволiць перапрызначэнне ўваходнага канала
Resampling algorithm AudioMixer Алгарытм рэсэмплінгу
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Аслабiць выхад мiксеру на 3дБ(як у BeOS R5)
Display balance control for stereo connections AudioMixer Паказаць рэгулятар балансу для стэрэа злучэнняў
1 belarusian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Перапрызначенне ўваходаў
To output AudioMixer Выводзіць
not connected AudioMixer ня злучана
Refuse output format changes AudioMixer Адмовіць змяняць выхадны фармат
Gain AudioMixer Узмацненне
To master AudioMixer Да асноўнага
Refuse input format changes AudioMixer Адмова змен ўваходнага фармату
Drop/repeat samples AudioMixer Прапусцiць/паўтарыць сэмплы
Output channel sources AudioMixer Крыніцы выхаднога каналу
not connected AudioMixer ня злучана
Master output AudioMixer Асноўны выхад
dB AudioMixer дБ
Gain controls AudioMixer Рэгулятары ўзмацнення
Input mapping AudioMixer Перапрызначенне ўваходаў
Mute AudioMixer Сцішыць
Input channel destinations AudioMixer Назначэнне ўваходных каналаў
To master AudioMixer Да асноўнага
Master output AudioMixer Асноўны выхад
Output channel sources AudioMixer Крыніцы выхаднога каналу
Allow input channel remapping AudioMixer Дазволiць перапрызначэнне ўваходнага канала
Display balance control for stereo connections AudioMixer Паказаць рэгулятар балансу для стэрэа злучэнняў
Setup AudioMixer Наладкі
Use non linear gain sliders (like BeOS R5) AudioMixer Нелінейнае кіраванне гукам (як у BeOS R5)
Gain AudioMixer Узмацненне
Allow output channel remapping AudioMixer Дазволiць перапрызначэнне выхаднога каналу
Physical input channels AudioMixer Фiзiчныя ўваходныя каналы
Input channel destinations AudioMixer Назначэнне ўваходных каналаў
Mute AudioMixer Сцішыць
Output mapping AudioMixer Мапа вывадаў
Virtual output channels AudioMixer Вiртуальныя выхадныя каналы
Allow output channel remapping AudioMixer Дазволiць перапрызначэнне выхаднога каналу

View File

@ -1,27 +1,26 @@
1 catalan; valencian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Els controls de guany de l'entrada representen
Linear interpolation AudioMixer Interpolació lineal
Virtual output channels AudioMixer Canals de sortida virtuals
Refuse output format changes AudioMixer Rebutja els canvis de format de la sortida
Output mapping AudioMixer Mapeig de sortida
Allow input channel remapping AudioMixer Permet el remapat del canal d'entrada
Resampling algorithm AudioMixer Algorisme de canvi del mostratge
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenua 3dB la sortida del mesclador (com al BeOS R5)
Display balance control for stereo connections AudioMixer Mostra el control de l'equilibri de les connexions estèreo
1 catalan; valencian x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Mapeig d'entrada
High quality (linear interpolation) AudioMixer Alta qualitat (interpolació lineal)
To output AudioMixer Cap a la sortida
not connected AudioMixer no està connectat
Refuse output format changes AudioMixer Rebutja els canvis de format de la sortida
Gain AudioMixer Guany
To master AudioMixer Cap al mestre
Refuse input format changes AudioMixer Rebutja els canvis de format de l'entrada
Drop/repeat samples AudioMixer Abandona/repeteix les mostres
Output channel sources AudioMixer Procedència del canal de sortida
not connected AudioMixer no està connectat
Master output AudioMixer Sortida principal
dB AudioMixer dB
Gain controls AudioMixer Controls de guany
Input mapping AudioMixer Mapeig d'entrada
Mute AudioMixer Silencia
Input channel destinations AudioMixer Destins de canal d'entrada
To master AudioMixer Cap al mestre
Master output AudioMixer Sortida principal
Low quality (drop/repeat samples) AudioMixer Baixa qualitat (abandonament / repetició de mostres)
Output channel sources AudioMixer Procedència del canal de sortida
Allow input channel remapping AudioMixer Permet el remapat del canal d'entrada
Display balance control for stereo connections AudioMixer Mostra el control de l'equilibri de les connexions estèreo
Setup AudioMixer Configuració
Use non linear gain sliders (like BeOS R5) AudioMixer Usa controls de guany lliscants no lineals (com el BeOS R5)
Gain AudioMixer Guany
Allow output channel remapping AudioMixer Permet el remapat del canal de sortida
Physical input channels AudioMixer Canals d'entrada físics
Input channel destinations AudioMixer Destins de canal d'entrada
Resampling algorithm: AudioMixer Algorisme de remotreig:
Mute AudioMixer Silencia
Output mapping AudioMixer Mapeig de sortida
Virtual output channels AudioMixer Canals de sortida virtuals
Allow output channel remapping AudioMixer Permet el remapat del canal de sortida
Input gain controls represent: AudioMixer Els controls de guany d'entrada representen això:
Attenuate mixer output by 3 dB AudioMixer Atenua la sortida del mesclador 3 dB

View File

@ -1,27 +1,21 @@
1 czech x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Ovládací prvky zesílení vstupu představují
Linear interpolation AudioMixer Lineární interpolace
Virtual output channels AudioMixer Virtuální výstupní kanály
Refuse output format changes AudioMixer Odmítnout změny výstupního formátu
Output mapping AudioMixer Mapování výstupu
Allow input channel remapping AudioMixer Povolit přemapování vstupního kanálu
Resampling algorithm AudioMixer Algoritmus převzorkování
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Utlumit výstup směšovače o 3dB (jako BeOS R5)
Display balance control for stereo connections AudioMixer Zobrazit ovládání vyvážení při stereo připojeních
1 czech x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapování vstupu
To output AudioMixer Na výstup
not connected AudioMixer není připojeno
Refuse output format changes AudioMixer Odmítnout změny výstupního formátu
Gain AudioMixer Zesílení
To master AudioMixer Na hlavní
Refuse input format changes AudioMixer Odmítnout změny formátu vstupu
Drop/repeat samples AudioMixer Zahodit/opakovat vzorky
Output channel sources AudioMixer Zdroje výstupního kanálu
not connected AudioMixer není připojeno
Master output AudioMixer Hlavní výstup
dB AudioMixer dB
Gain controls AudioMixer Ovládání zesílení
Input mapping AudioMixer Mapování vstupu
Mute AudioMixer Ztlumit
Input channel destinations AudioMixer Cíle vstupního kanálu
To master AudioMixer Na hlavní
Master output AudioMixer Hlavní výstup
Output channel sources AudioMixer Zdroje výstupního kanálu
Allow input channel remapping AudioMixer Povolit přemapování vstupního kanálu
Display balance control for stereo connections AudioMixer Zobrazit ovládání vyvážení při stereo připojeních
Setup AudioMixer Nastavení
Use non linear gain sliders (like BeOS R5) AudioMixer Použít nelineární posuvníky zesílení (jako BeOS R5)
Gain AudioMixer Zesílení
Allow output channel remapping AudioMixer Povolit přemapování výstupních kanálů
Physical input channels AudioMixer Fyzické vstupní kanály
Input channel destinations AudioMixer Cíle vstupního kanálu
Mute AudioMixer Ztlumit
Output mapping AudioMixer Mapování výstupu
Virtual output channels AudioMixer Virtuální výstupní kanály
Allow output channel remapping AudioMixer Povolit přemapování výstupních kanálů

View File

@ -1,27 +1,21 @@
1 danish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Repræsentant for input gain-styringer
Linear interpolation AudioMixer Lineær interpolering
Virtual output channels AudioMixer Virtuelle outputkaneler
Refuse output format changes AudioMixer Nægt ændringer af outputformat
Output mapping AudioMixer Outportkortlægning
Allow input channel remapping AudioMixer Tillad genkortlæsning af inputkanaler
Resampling algorithm AudioMixer Gemsamplingsalgoritme
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Svæk mixeroutput med 3dB (ligesom BeOS R5)
Display balance control for stereo connections AudioMixer Vis balancestyring til stereoforbindelser
1 danish x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Inputkortlægning
To output AudioMixer Til output
not connected AudioMixer ikke tilsluttet
Refuse output format changes AudioMixer Nægt ændringer af outputformat
Gain AudioMixer Gain
To master AudioMixer Til master
Refuse input format changes AudioMixer Nægt ændringer af inputformat
Drop/repeat samples AudioMixer Drop/gentag datapunkter
Output channel sources AudioMixer Kilder for outputkanal
not connected AudioMixer ikke tilsluttet
Master output AudioMixer Master-output
dB AudioMixer dB
Gain controls AudioMixer Gain-styringer
Input mapping AudioMixer Inputkortlægning
Mute AudioMixer Mute
Input channel destinations AudioMixer Destinationer for inputkanal
To master AudioMixer Til master
Master output AudioMixer Master-output
Output channel sources AudioMixer Kilder for outputkanal
Allow input channel remapping AudioMixer Tillad genkortlæsning af inputkanaler
Display balance control for stereo connections AudioMixer Vis balancestyring til stereoforbindelser
Setup AudioMixer Opsætning
Use non linear gain sliders (like BeOS R5) AudioMixer Brug ikke-lineær gain-skydere (ligesom BeOS R5)
Gain AudioMixer Gain
Allow output channel remapping AudioMixer Tillad kortlægning af outputkanal
Physical input channels AudioMixer Fysiske inputkanaler
Input channel destinations AudioMixer Destinationer for inputkanal
Mute AudioMixer Mute
Output mapping AudioMixer Outportkortlægning
Virtual output channels AudioMixer Virtuelle outputkaneler
Allow output channel remapping AudioMixer Tillad kortlægning af outputkanal

View File

@ -1,27 +1,26 @@
1 german x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Regler für Eingangslautstärke sind
Linear interpolation AudioMixer Lineare Interpolation
Virtual output channels AudioMixer Virtuelle Ausgangskanäle
Refuse output format changes AudioMixer Änderungen des Ausgabeformats verhindern
Output mapping AudioMixer Ausgangs-Zuordnung
Allow input channel remapping AudioMixer Neuzuordnung der Eingangskanäle erlauben
Resampling algorithm AudioMixer Resample-Algorithmus
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Mixerausgabe um 3dB dämpfen (wie BeOS R5)
Display balance control for stereo connections AudioMixer Balance-Regler für Stereo-Anschlüsse anzeigen
1 german x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Eingangs-Zuordnung
High quality (linear interpolation) AudioMixer Hohe Qualität (lineare Interpolation)
To output AudioMixer Zum Ausgang
not connected AudioMixer nicht verbunden
Refuse output format changes AudioMixer Änderungen des Ausgabeformats verhindern
Gain AudioMixer Verstärkung
To master AudioMixer Zum Master
Refuse input format changes AudioMixer Änderungen des Eingangsformats verhindern
Drop/repeat samples AudioMixer Samples auslassen/wiederholen
Output channel sources AudioMixer Ausgangskanalquellen
not connected AudioMixer nicht verbunden
Master output AudioMixer Master-Ausgang
dB AudioMixer dB
Gain controls AudioMixer Lautstärke
Input mapping AudioMixer Eingangs-Zuordnung
Mute AudioMixer Stumm
Input channel destinations AudioMixer Eingangskanalziele
To master AudioMixer Zum Master
Master output AudioMixer Master-Ausgang
Low quality (drop/repeat samples) AudioMixer Niedrige Qualität (Samples weglassen/wiederholen)
Output channel sources AudioMixer Ausgangskanalquellen
Allow input channel remapping AudioMixer Neuzuordnung der Eingangskanäle erlauben
Display balance control for stereo connections AudioMixer Balance-Regler für Stereo-Anschlüsse anzeigen
Setup AudioMixer Einstellungen
Use non linear gain sliders (like BeOS R5) AudioMixer Nicht-lineare Lautstärkeregler (wie BeOS R5)
Gain AudioMixer Verstärkung
Allow output channel remapping AudioMixer Neuzuordnung der Ausgangskanäle erlauben
Physical input channels AudioMixer Physische Eingangskanäle
Input channel destinations AudioMixer Eingangskanalziele
Resampling algorithm: AudioMixer Resample Algorithmus:
Mute AudioMixer Stumm
Output mapping AudioMixer Ausgangs-Zuordnung
Virtual output channels AudioMixer Virtuelle Ausgangskanäle
Allow output channel remapping AudioMixer Neuzuordnung der Ausgangskanäle erlauben
Input gain controls represent: AudioMixer Eingangsverstärker-Regler zeigen:
Attenuate mixer output by 3 dB AudioMixer Mixerausgang um 3 dB dämpfen

View File

@ -1,27 +1,26 @@
1 greek, modern (1453-) x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Αναπαράσταση απολαβής εισόδου ήχου
Linear interpolation AudioMixer Γραμμική παρεμβολή
Virtual output channels AudioMixer Κανάλια εικονικής εξόδου
Refuse output format changes AudioMixer Απαγόρευση αλλαγών στις μονάδες εξόδου
Output mapping AudioMixer Χαρτογράφηση εξόδου
Allow input channel remapping AudioMixer Έγκριση επαναχαρτογράφησης του καναλιού εισαγωγής
Resampling algorithm AudioMixer Αλγόριθμος αναδειγματοληψίας
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Εξασθένηση της εξόδου του μείκτη κατά 3dB (όπως στο BeOS R5)
Display balance control for stereo connections AudioMixer Προβολή ελέγχου ισορροπίας ήχου για στερεοφωνικές συνδέσεις
1 greek, modern (1453-) x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Χαρτογράφηση εισόδου
High quality (linear interpolation) AudioMixer Υψηλή ποιότητα (γραμμική παρεμβολή)
To output AudioMixer Προς έξοδο
not connected AudioMixer μη συνδεδεμένο
Refuse output format changes AudioMixer Απαγόρευση αλλαγών στις μονάδες εξόδου
Gain AudioMixer Απολαβή
To master AudioMixer Προς κύρια έξοδο
Refuse input format changes AudioMixer Απαγόρευση αλλαγών στις μονάδες εισόδου
Drop/repeat samples AudioMixer Ρίψιμο/επανάληψη δειγμάτων
Output channel sources AudioMixer Πηγές καναλιών εξόδου
not connected AudioMixer μη συνδεδεμένο
Master output AudioMixer Κύρια έξοδος
dB AudioMixer dB
Gain controls AudioMixer Έλεγχος απολαβής
Input mapping AudioMixer Χαρτογράφηση εισόδου
Mute AudioMixer Σίγαση
Input channel destinations AudioMixer Προορισμοί καναλιού εισαγωγής
To master AudioMixer Προς κύρια έξοδο
Master output AudioMixer Κύρια έξοδος
Low quality (drop/repeat samples) AudioMixer Χαμηλή ποιότητα (απόρριψη/επανάληψη δειγμάτων)
Output channel sources AudioMixer Πηγές καναλιών εξόδου
Allow input channel remapping AudioMixer Έγκριση επαναχαρτογράφησης του καναλιού εισαγωγής
Display balance control for stereo connections AudioMixer Προβολή ελέγχου ισορροπίας ήχου για στερεοφωνικές συνδέσεις
Setup AudioMixer Ρύθμιση
Use non linear gain sliders (like BeOS R5) AudioMixer Χρήση μη-γραμμικών μπαρών απολαβής (όπως στο BeOS R5)
Gain AudioMixer Απολαβή
Allow output channel remapping AudioMixer Έγκριση επαναχαρτογράφησης του καναλιού εξαγωγής
Physical input channels AudioMixer Υλικά κανάλια εισόδου
Input channel destinations AudioMixer Προορισμοί καναλιού εισαγωγής
Resampling algorithm: AudioMixer Αλγόριθμος για resampling:
Mute AudioMixer Σίγαση
Output mapping AudioMixer Χαρτογράφηση εξόδου
Virtual output channels AudioMixer Κανάλια εικονικής εξόδου
Allow output channel remapping AudioMixer Έγκριση επαναχαρτογράφησης του καναλιού εξαγωγής
Input gain controls represent: AudioMixer Τα χειριστήρια αύξησης εισόδου αναπαριστούν:
Attenuate mixer output by 3 dB AudioMixer Εξασθένιση εξόδου του μίκτη κατά 3 dB

View File

@ -1,27 +1,21 @@
1 esperanto x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Enigopliigaj stiriloj reprezentas
Linear interpolation AudioMixer Linia interpolado
Virtual output channels AudioMixer Virtualaj eligaj kanaloj
Refuse output format changes AudioMixer Malpermesi eligajn formŝangojn
Output mapping AudioMixer Eliga mapado
Allow input channel remapping AudioMixer Permesi enigkanelan remapadon
Resampling algorithm AudioMixer Resampla algoritmo
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenui miksilan eligon per 3dB (kiel BeOS R5)
Display balance control for stereo connections AudioMixer Montri balancstirilon por stereofoniaj konektoj
1 esperanto x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Eniga mapado
To output AudioMixer Al enigo
not connected AudioMixer nekonektanta
Refuse output format changes AudioMixer Malpermesi eligajn formŝangojn
Gain AudioMixer Pliigo
To master AudioMixer Al majstro
Refuse input format changes AudioMixer Rifuzi enigformajn ŝanĝojn
Drop/repeat samples AudioMixer Ellasi/ripeti specimenojn
Output channel sources AudioMixer Eligkanalaj fontoj
not connected AudioMixer nekonektanta
Master output AudioMixer Majstra eligo
dB AudioMixer dB
Gain controls AudioMixer Pliigaj stiriloj
Input mapping AudioMixer Eniga mapado
Mute AudioMixer Silentigi
Input channel destinations AudioMixer Enigkanalaj celoj
To master AudioMixer Al majstro
Master output AudioMixer Majstra eligo
Output channel sources AudioMixer Eligkanalaj fontoj
Allow input channel remapping AudioMixer Permesi enigkanelan remapadon
Display balance control for stereo connections AudioMixer Montri balancstirilon por stereofoniaj konektoj
Setup AudioMixer Agordi
Use non linear gain sliders (like BeOS R5) AudioMixer Uzu neliniajn pliigstirilojn (kiel BeOS R5)
Gain AudioMixer Pliigo
Allow output channel remapping AudioMixer Permesi eligkanalan remapadon
Physical input channels AudioMixer Fizikaj enigaj kanaloj
Input channel destinations AudioMixer Enigkanalaj celoj
Mute AudioMixer Silentigi
Output mapping AudioMixer Eliga mapado
Virtual output channels AudioMixer Virtualaj eligaj kanaloj
Allow output channel remapping AudioMixer Permesi eligkanalan remapadon

View File

@ -1,27 +1,21 @@
1 spanish; castilian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Controles de ganancia de entrada representan
Linear interpolation AudioMixer Interpolación lineal
Virtual output channels AudioMixer Canales virtuales de salida
Refuse output format changes AudioMixer Rechazar los cambios de formato de salida
Output mapping AudioMixer Asignación de salida
Allow input channel remapping AudioMixer Permitir la entrada del canal de reasignación
Resampling algorithm AudioMixer Algoritmo de remuestreo
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenuar la salida del mezclador en 3 dB (como BeOS R5)
Display balance control for stereo connections AudioMixer Pantalla de control de balance para las conexiones estéreo
1 spanish; castilian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Asignación de entrada
To output AudioMixer A la salida
not connected AudioMixer no conectado
Refuse output format changes AudioMixer Rechazar los cambios de formato de salida
Gain AudioMixer Ganancia
To master AudioMixer A maestro
Refuse input format changes AudioMixer Rechazar los cambios de formato de entrada
Drop/repeat samples AudioMixer Muestras de soltar/repetir
Output channel sources AudioMixer Fuentes de salida del canal
not connected AudioMixer no conectado
Master output AudioMixer Salida maestra
dB AudioMixer dB
Gain controls AudioMixer Controles de ganancia
Input mapping AudioMixer Asignación de entrada
Mute AudioMixer Silencio
Input channel destinations AudioMixer Destinos del canal de entrada
To master AudioMixer A maestro
Master output AudioMixer Salida maestra
Output channel sources AudioMixer Fuentes de salida del canal
Allow input channel remapping AudioMixer Permitir la entrada del canal de reasignación
Display balance control for stereo connections AudioMixer Pantalla de control de balance para las conexiones estéreo
Setup AudioMixer Configuración
Use non linear gain sliders (like BeOS R5) AudioMixer Utilice reguladores de ganancia no lineal (como BeOS R5)
Gain AudioMixer Ganancia
Allow output channel remapping AudioMixer Permitir la salida de canal de reasignación
Physical input channels AudioMixer Canales de ingreso físicos
Input channel destinations AudioMixer Destinos del canal de entrada
Mute AudioMixer Silencio
Output mapping AudioMixer Asignación de salida
Virtual output channels AudioMixer Canales virtuales de salida
Allow output channel remapping AudioMixer Permitir la salida de canal de reasignación

View File

@ -1,27 +1,21 @@
1 finnish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Tulovahvistusohjaimet esittää
Linear interpolation AudioMixer Lineaarinen interpolointi
Virtual output channels AudioMixer Virtuaaliset lähtökanavat
Refuse output format changes AudioMixer Kiellä lähtömuodon muutokset
Output mapping AudioMixer Lähtökuvaus
Allow input channel remapping AudioMixer Salli tulokanavien uudelleenkuvaus
Resampling algorithm AudioMixer Uusintanäytealgoritmi
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer 3 dB:n vaimennussekoittajalähtö (kuten BeOS R5)
Display balance control for stereo connections AudioMixer Näytä balanssiohjaus stereoyhteyksille
1 finnish x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Tulokuvaus
To output AudioMixer Lähtöön
not connected AudioMixer ei ole yhdistetty
Refuse output format changes AudioMixer Kiellä lähtömuodon muutokset
Gain AudioMixer Vahvistus
To master AudioMixer Master-laitteelle
Refuse input format changes AudioMixer Kiellä tulomuodon muutokset
Drop/repeat samples AudioMixer Pudota/toista näytteistys
Output channel sources AudioMixer Lähtökanavalähteet
not connected AudioMixer ei ole yhdistetty
Master output AudioMixer Master-lähtö
dB AudioMixer dB
Gain controls AudioMixer Vahvistusohjaimet
Input mapping AudioMixer Tulokuvaus
Mute AudioMixer Mykistä
Input channel destinations AudioMixer Tulokanavakohteet
To master AudioMixer Master-laitteelle
Master output AudioMixer Master-lähtö
Output channel sources AudioMixer Lähtökanavalähteet
Allow input channel remapping AudioMixer Salli tulokanavien uudelleenkuvaus
Display balance control for stereo connections AudioMixer Näytä balanssiohjaus stereoyhteyksille
Setup AudioMixer Asetus
Use non linear gain sliders (like BeOS R5) AudioMixer Käytä ei-lineaarisia vahvistusliukukytkimiä (kuten BeOS R5)
Gain AudioMixer Vahvistus
Allow output channel remapping AudioMixer Salli lähtökanavien uudelleennäytteistys
Physical input channels AudioMixer Fyysiset tulokanavat
Input channel destinations AudioMixer Tulokanavakohteet
Mute AudioMixer Mykistä
Output mapping AudioMixer Lähtökuvaus
Virtual output channels AudioMixer Virtuaaliset lähtökanavat
Allow output channel remapping AudioMixer Salli lähtökanavien uudelleennäytteistys

View File

@ -1,27 +1,26 @@
1 french x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Les contrôles de gain dentrée représentent
Linear interpolation AudioMixer Interpolation linéaire
Virtual output channels AudioMixer Canaux de la sortie virtuelle
Refuse output format changes AudioMixer Refuser les changements de formats de sorties
Output mapping AudioMixer Correspondances de sorties
Allow input channel remapping AudioMixer Autoriser la réassignation des canaux dentrées
Resampling algorithm AudioMixer Algorithme de ré-échantillonnage
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atténuer la sortie du mélangeur de 3 dB (comme BeOS R5)
Display balance control for stereo connections AudioMixer Afficher le contrôle de balance pour les connexions stéréo
1 french x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Correspondances dentrées
High quality (linear interpolation) AudioMixer Haute qualité (interpolation linéaire)
To output AudioMixer Vers la sortie
not connected AudioMixer débranché
Refuse output format changes AudioMixer Refuser les changements de formats de sorties
Gain AudioMixer Gain
To master AudioMixer Vers la sortie principale
Refuse input format changes AudioMixer Refuser les changements de formats dentrées
Drop/repeat samples AudioMixer Sauter/répéter les échantillons
Output channel sources AudioMixer Sources des canaux de sorties
not connected AudioMixer débranché
Master output AudioMixer Sortie principale
dB AudioMixer dB
Gain controls AudioMixer Contrôles de gain
Input mapping AudioMixer Correspondances dentrées
Mute AudioMixer Sourdine
Input channel destinations AudioMixer Destinations des canaux dentrées
To master AudioMixer Vers la sortie principale
Master output AudioMixer Sortie principale
Low quality (drop/repeat samples) AudioMixer Basse qualité (échantillons de chute/répétition)
Output channel sources AudioMixer Sources des canaux de sorties
Allow input channel remapping AudioMixer Autoriser la réassignation des canaux dentrées
Display balance control for stereo connections AudioMixer Afficher le contrôle de balance pour les connexions stéréo
Setup AudioMixer Réglages
Use non linear gain sliders (like BeOS R5) AudioMixer Utiliser les curseurs de gain non-linéaires (comme BeOS R5)
Gain AudioMixer Gain
Allow output channel remapping AudioMixer Autoriser la réassignation des canaux de sorties
Physical input channels AudioMixer Canaux dentrées physiques
Input channel destinations AudioMixer Destinations des canaux dentrées
Resampling algorithm: AudioMixer Algorithme de ré-échantillonnage :
Mute AudioMixer Sourdine
Output mapping AudioMixer Correspondances de sorties
Virtual output channels AudioMixer Canaux de la sortie virtuelle
Allow output channel remapping AudioMixer Autoriser la réassignation des canaux de sorties
Input gain controls represent: AudioMixer Les contrôles de gain d'entrée représentent :
Attenuate mixer output by 3 dB AudioMixer Atténuer la sortie du mélangeur de 3 dB

View File

@ -1,27 +1,21 @@
1 friulian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer I controi di vuadagn in jentrade a rapresentin
Linear interpolation AudioMixer Interpolazion lineâr
Virtual output channels AudioMixer Canâi di jessude virtuâi
Refuse output format changes AudioMixer Refude modifichis al formât di jessude
Output mapping AudioMixer Mapadure des jessudis
Allow input channel remapping AudioMixer Permet modifiche di mapadure dal canâl di jentrade
Resampling algorithm AudioMixer Algoritmi par tornâ a campionâ
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Sbasse la jessude dal mixer di 3dB (come BeOS R5)
Display balance control for stereo connections AudioMixer Mostre controi di belançament pes conessions stereo
1 friulian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapadure des jentradis
To output AudioMixer In jessude
not connected AudioMixer no conetût
Refuse output format changes AudioMixer Refude modifichis al formât di jessude
Gain AudioMixer Vuadagn
To master AudioMixer Al principâl
Refuse input format changes AudioMixer Refude modifichis al formât di jentrade
Drop/repeat samples AudioMixer Fâs colâ/ripet campions
Output channel sources AudioMixer Sorzints canâi di jessude
not connected AudioMixer no conetût
Master output AudioMixer Jessude principâl
dB AudioMixer dB
Gain controls AudioMixer Controi di vuadagn
Input mapping AudioMixer Mapadure des jentradis
Mute AudioMixer Cidin
Input channel destinations AudioMixer Destinazions canâi di jentrade
To master AudioMixer Al principâl
Master output AudioMixer Jessude principâl
Output channel sources AudioMixer Sorzints canâi di jessude
Allow input channel remapping AudioMixer Permet modifiche di mapadure dal canâl di jentrade
Display balance control for stereo connections AudioMixer Mostre controi di belançament pes conessions stereo
Setup AudioMixer Configurazion
Use non linear gain sliders (like BeOS R5) AudioMixer Dopre cursôrs regoladôrs di vuadagn no lineâr (come BeOS R5)
Gain AudioMixer Vuadagn
Allow output channel remapping AudioMixer Permet di tornâ a mapâ i canâi di jessude
Physical input channels AudioMixer Canâi di jentrade fisics
Input channel destinations AudioMixer Destinazions canâi di jentrade
Mute AudioMixer Cidin
Output mapping AudioMixer Mapadure des jessudis
Virtual output channels AudioMixer Canâi di jessude virtuâi
Allow output channel remapping AudioMixer Permet di tornâ a mapâ i canâi di jessude

View File

@ -1,12 +1,12 @@
1 croatian x-vnd.Haiku-mixer.media_addon 526355835
Virtual output channels AudioMixer Virtualni izlazni kanali
Refuse output format changes AudioMixer Odbij promjene izlaznog formata
not connected AudioMixer nije spojeno
Refuse input format changes AudioMixer Odbij promjene ulaznog formata
Output channel sources AudioMixer Izvori izlaznog kanala
dB AudioMixer dB
Mute AudioMixer Utišaj
Input channel destinations AudioMixer Odredišta ulaznog kanala
not connected AudioMixer nije spojeno
Master output AudioMixer Glavni izlaz
dB AudioMixer dB
Output channel sources AudioMixer Izvori izlaznog kanala
Setup AudioMixer Postavi
Physical input channels AudioMixer Fizički ulazni kanali
Input channel destinations AudioMixer Odredišta ulaznog kanala
Mute AudioMixer Utišaj
Virtual output channels AudioMixer Virtualni izlazni kanali

View File

@ -1,27 +1,21 @@
1 hungarian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer A bemeneti előerősítés beállításai ezt jelentik:
Linear interpolation AudioMixer Lineáris interpoláció
Virtual output channels AudioMixer Virtuális kimeneti csatornák
Refuse output format changes AudioMixer Kimeneti formátum változtatásainak visszautasítása
Output mapping AudioMixer Kimenet leképezése
Allow input channel remapping AudioMixer Bemeneti csatorna újraképezésének az engedélyezése
Resampling algorithm AudioMixer Újramintavételezési algoritmus
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer A keverő kimenetének 3dB-lel való gyengítése (mint a BeOS R5-ben)
Display balance control for stereo connections AudioMixer Sztereó kapcsolatok egyensúlycsúszkáinak megjelenítése
1 hungarian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Bemenet leképezése
To output AudioMixer Kimenetre
not connected AudioMixer nincs csatlakoztatva
Refuse output format changes AudioMixer Kimeneti formátum változtatásainak visszautasítása
Gain AudioMixer Erősítés
To master AudioMixer Az elsődlegesre
Refuse input format changes AudioMixer Bemeneti formátum változtatásainak visszautasítása
Drop/repeat samples AudioMixer Minták átugrása/ismétlése
Output channel sources AudioMixer Kimeneti csatorna forrásai
not connected AudioMixer nincs csatlakoztatva
Master output AudioMixer Elsődleges kimenet
dB AudioMixer dB
Gain controls AudioMixer Erősítő vezérlői
Input mapping AudioMixer Bemenet leképezése
Mute AudioMixer Némítás
Input channel destinations AudioMixer Bemeneti csatornák céljai
To master AudioMixer Az elsődlegesre
Master output AudioMixer Elsődleges kimenet
Output channel sources AudioMixer Kimeneti csatorna forrásai
Allow input channel remapping AudioMixer Bemeneti csatorna újraképezésének az engedélyezése
Display balance control for stereo connections AudioMixer Sztereó kapcsolatok egyensúlycsúszkáinak megjelenítése
Setup AudioMixer Beállítás
Use non linear gain sliders (like BeOS R5) AudioMixer Nem lineáris előerősítés csúszkák használata (mint a BeOS R5-ben)
Gain AudioMixer Erősítés
Allow output channel remapping AudioMixer Kimeneti csatorna újraképezésének az engedélyezése
Physical input channels AudioMixer Fizikai bemeneti csatornák
Input channel destinations AudioMixer Bemeneti csatornák céljai
Mute AudioMixer Némítás
Output mapping AudioMixer Kimenet leképezése
Virtual output channels AudioMixer Virtuális kimeneti csatornák
Allow output channel remapping AudioMixer Kimeneti csatorna újraképezésének az engedélyezése

View File

@ -1,27 +1,21 @@
1 indonesian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Kontrol penguatan masukan mewakili
Linear interpolation AudioMixer Interpolasi linier
Virtual output channels AudioMixer Saluran keluaran virtual
Refuse output format changes AudioMixer Menolak perubahan format keluaran
Output mapping AudioMixer Pemetaan keluaran
Allow input channel remapping AudioMixer Ijinkan pemetaan ulang kanal masukan
Resampling algorithm AudioMixer Algoritma sampel-ulang
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Lemahkan keluaran mixer sebesar 3dB (seperti BeOS R5)
Display balance control for stereo connections AudioMixer Tampilkan kontrol keseimbangan untuk sambungan stereo
1 indonesian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Pemetaan input
To output AudioMixer Ke keluaran
not connected AudioMixer tidak terhubung
Refuse output format changes AudioMixer Menolak perubahan format keluaran
Gain AudioMixer Penguatan
To master AudioMixer Ke master
Refuse input format changes AudioMixer Menolak perubahan format masukan
Drop/repeat samples AudioMixer Jatuhkan/ulangi sampel
Output channel sources AudioMixer Sumber kanal keluaran
not connected AudioMixer tidak terhubung
Master output AudioMixer Keluaran master
dB AudioMixer dB
Gain controls AudioMixer Pengatur penguatan
Input mapping AudioMixer Pemetaan input
Mute AudioMixer Bisu
Input channel destinations AudioMixer Tujuan kanal input
To master AudioMixer Ke master
Master output AudioMixer Keluaran master
Output channel sources AudioMixer Sumber kanal keluaran
Allow input channel remapping AudioMixer Ijinkan pemetaan ulang kanal masukan
Display balance control for stereo connections AudioMixer Tampilkan kontrol keseimbangan untuk sambungan stereo
Setup AudioMixer Tata
Use non linear gain sliders (like BeOS R5) AudioMixer Pakai penguat slider non-linier (seperti BeOS R5)
Gain AudioMixer Penguatan
Allow output channel remapping AudioMixer Ijinkan pemetaan ulang kanal keluaran
Physical input channels AudioMixer Kanal input fisik
Input channel destinations AudioMixer Tujuan kanal input
Mute AudioMixer Bisu
Output mapping AudioMixer Pemetaan keluaran
Virtual output channels AudioMixer Saluran keluaran virtual
Allow output channel remapping AudioMixer Ijinkan pemetaan ulang kanal keluaran

View File

@ -1,27 +1,21 @@
1 italian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Controlli di guadagno in ingresso rappresentano
Linear interpolation AudioMixer Interpolazione lineare
Virtual output channels AudioMixer Canali di uscita virtuali
Refuse output format changes AudioMixer Non consenti cambiamenti nel formato di uscita
Output mapping AudioMixer Mappatura delle uscite
Allow input channel remapping AudioMixer Consenti la riassegnazione di canali di ingresso
Resampling algorithm AudioMixer Algoritmo di ricampionamento
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Attenua l'uscita del mixer di 3dB (come BeOS R5)
Display balance control for stereo connections AudioMixer Visualizza controlli di bilanciamento per le connessioni stereo
1 italian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mappatura degli ingressi
To output AudioMixer In uscita
not connected AudioMixer non connessa
Refuse output format changes AudioMixer Non consenti cambiamenti nel formato di uscita
Gain AudioMixer Guadagno
To master AudioMixer Al master
Refuse input format changes AudioMixer Rifiuta cambiamenti nel formato di ingresso
Drop/repeat samples AudioMixer Rimuovi/ripeti campioni
Output channel sources AudioMixer Canali sorgente in uscita
not connected AudioMixer non connessa
Master output AudioMixer Uscita master
dB AudioMixer dB
Gain controls AudioMixer Controlli di guadagno
Input mapping AudioMixer Mappatura degli ingressi
Mute AudioMixer Muto
Input channel destinations AudioMixer Destinazione dei canali di ingresso
To master AudioMixer Al master
Master output AudioMixer Uscita master
Output channel sources AudioMixer Canali sorgente in uscita
Allow input channel remapping AudioMixer Consenti la riassegnazione di canali di ingresso
Display balance control for stereo connections AudioMixer Visualizza controlli di bilanciamento per le connessioni stereo
Setup AudioMixer Configurazione
Use non linear gain sliders (like BeOS R5) AudioMixer Utilizza selettori di guadagno non lineare (come BeOS R5)
Gain AudioMixer Guadagno
Allow output channel remapping AudioMixer Consenti la riassegnazione dei canali di uscita
Physical input channels AudioMixer Canali di ingresso fisici
Input channel destinations AudioMixer Destinazione dei canali di ingresso
Mute AudioMixer Muto
Output mapping AudioMixer Mappatura delle uscite
Virtual output channels AudioMixer Canali di uscita virtuali
Allow output channel remapping AudioMixer Consenti la riassegnazione dei canali di uscita

View File

@ -1,27 +1,26 @@
1 japanese x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer 入力ゲインコントロール表示
Linear interpolation AudioMixer 線形補完
Virtual output channels AudioMixer 仮想出力チャンネル
Refuse output format changes AudioMixer 出力フォーマットの変更を許可しない
Output mapping AudioMixer 出力マッピング
Allow input channel remapping AudioMixer 入力チャンネルの再マッピングを許可する
Resampling algorithm AudioMixer リサンプリングアルゴリズム
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer ミキサー出力を 3dB 下げる ( BeOS R5 と同様)
Display balance control for stereo connections AudioMixer ステレオ接続にバランスコントロールを表示
1 japanese x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer 入力再マッピング
High quality (linear interpolation) AudioMixer 高品質 (線形補間)
To output AudioMixer 出力へ
Refuse output format changes AudioMixer 出力フォーマットの変更を拒否
Gain AudioMixer ゲイン
To master AudioMixer マスターへ
Refuse input format changes AudioMixer 入力フォーマットの変更を拒否
not connected AudioMixer 接続されていません
Refuse input format changes AudioMixer 入力フォーマットの変更を許可しない
Drop/repeat samples AudioMixer サンプルを下げる/繰り返す
Output channel sources AudioMixer 出力チャンネルソース
Master output AudioMixer マスター出力
dB AudioMixer dB
Gain controls AudioMixer ゲインコントロール
Input mapping AudioMixer 入力再マッピング
Mute AudioMixer ミュート
Input channel destinations AudioMixer 入力チャンネルの接続先
To master AudioMixer マスターへ
Master output AudioMixer マスター出力
Low quality (drop/repeat samples) AudioMixer 低品質 (drop/repeat samples)
Output channel sources AudioMixer 出力チャンネルソース
Allow input channel remapping AudioMixer 入力チャンネルの再マッピングを許可
Display balance control for stereo connections AudioMixer ステレオ接続にバランスコントロールを表示
Setup AudioMixer 設定
Use non linear gain sliders (like BeOS R5) AudioMixer 非線形ゲインスライダーを使用 (BeOS R5と同様)
Gain AudioMixer ゲイン
Allow output channel remapping AudioMixer 出力チャンネルの再マッピングを許可する
Physical input channels AudioMixer 物理入力チャンネル
Input channel destinations AudioMixer 入力チャンネルの接続先
Resampling algorithm: AudioMixer リサンプリングアルゴリズム:
Mute AudioMixer ミュート
Output mapping AudioMixer 出力マッピング
Virtual output channels AudioMixer 仮想出力チャンネル
Allow output channel remapping AudioMixer 出力チャンネルの再マッピングを許可
Input gain controls represent: AudioMixer 入力ゲインコントロール表示:
Attenuate mixer output by 3 dB AudioMixer ミキサー出力を 3 dB 減衰

View File

@ -1,27 +1,21 @@
1 lithuanian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Įvesties stiprinimo valdikliai atspindi
Linear interpolation AudioMixer linijinė interpoliacija
Virtual output channels AudioMixer virtualius išvesties kanalus
Refuse output format changes AudioMixer Neleisti išvesties formato keitimų
Output mapping AudioMixer Išvesties susiejimas
Allow input channel remapping AudioMixer Leisti įvesties kanalų persiejimą
Resampling algorithm AudioMixer Garso elementų atrankos algoritmas
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Sumažinti maišiklio išvesties garsį 3 dB (kaip „BeOS R5“)
Display balance control for stereo connections AudioMixer Rodyti balanso valdiklius stereofoninėms jungtims
1 lithuanian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Įvesties susiejimas
To output AudioMixer Į išvestį
not connected AudioMixer neprijungta
Refuse output format changes AudioMixer Neleisti išvesties formato keitimų
Gain AudioMixer Stiprinimas
To master AudioMixer Į pagrindinį
Refuse input format changes AudioMixer Neleisti įvesties formato keitimų
Drop/repeat samples AudioMixer Praleisti / kartoti garso elementus
Output channel sources AudioMixer Išvesties kanalo šaltiniai
not connected AudioMixer neprijungta
Master output AudioMixer Pagrindinė išvestis
dB AudioMixer dB
Gain controls AudioMixer Stiprinimo valdikliai
Input mapping AudioMixer Įvesties susiejimas
Mute AudioMixer Nutildyti
Input channel destinations AudioMixer Įvesties kanalų paskirtys
To master AudioMixer Į pagrindinį
Master output AudioMixer Pagrindinė išvestis
Output channel sources AudioMixer Išvesties kanalo šaltiniai
Allow input channel remapping AudioMixer Leisti įvesties kanalų persiejimą
Display balance control for stereo connections AudioMixer Rodyti balanso valdiklius stereofoninėms jungtims
Setup AudioMixer Nuostatos
Use non linear gain sliders (like BeOS R5) AudioMixer Naudoti nelinijinius stiprinimo šliaužiklius (kaip „BeOS R5“)
Gain AudioMixer Stiprinimas
Allow output channel remapping AudioMixer Leisti išvesties kanalų persiejimą
Physical input channels AudioMixer fizinius įvesties kanalus
Input channel destinations AudioMixer Įvesties kanalų paskirtys
Mute AudioMixer Nutildyti
Output mapping AudioMixer Išvesties susiejimas
Virtual output channels AudioMixer virtualius išvesties kanalus
Allow output channel remapping AudioMixer Leisti išvesties kanalų persiejimą

View File

@ -1,27 +1,24 @@
1 dutch; flemish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Invoer versterkingsknoppen representeren
Linear interpolation AudioMixer Lineaire interpolatie
Virtual output channels AudioMixer Virtuele uitvoerkanalen
Refuse output format changes AudioMixer Weiger wijzigingen van het uitvoerformaat
Output mapping AudioMixer Uitgang mapping
Allow input channel remapping AudioMixer Sta toe het invoerkanaal opnieuw te mappen
Resampling algorithm AudioMixer Resampling algorithme
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Verzwakken mixeruitgang met 3dB (zoals BeOS R5)
Display balance control for stereo connections AudioMixer Balansknop voor stereoverbindingen weergeven
1 dutch; flemish x-vnd.Haiku-mixer.media_addon 3511569803
Input mapping AudioMixer Invoermapping
High quality (linear interpolation) AudioMixer Hoge kwaliteit (lineaire interpolatie)
To output AudioMixer Uitvoer
not connected AudioMixer niet verbonden
Refuse output format changes AudioMixer Weiger wijzigingen van het uitvoerformaat
Gain AudioMixer Versterking
To master AudioMixer Naar master
Refuse input format changes AudioMixer Weiger veranderingen in invoerformaat
Drop/repeat samples AudioMixer Drop/herhaal samples
Output channel sources AudioMixer Uitgangskanaal bronnen
not connected AudioMixer niet verbonden
Master output AudioMixer Masteruitvoer
dB AudioMixer dB
Gain controls AudioMixer Gain instellingen
Input mapping AudioMixer Invoermapping
Mute AudioMixer Dempen
Input channel destinations AudioMixer Ingang kanaal bestemming
To master AudioMixer Naar master
Master output AudioMixer Masteruitvoer
Low quality (drop/repeat samples) AudioMixer Lage kwaliteit (samples overslaan/herhalen)
Output channel sources AudioMixer Uitgangskanaal bronnen
Allow input channel remapping AudioMixer Sta toe het invoerkanaal opnieuw te mappen
Display balance control for stereo connections AudioMixer Balansknop voor stereoverbindingen weergeven
Setup AudioMixer Instellingen
Use non linear gain sliders (like BeOS R5) AudioMixer Gebruik nonlineare versterkingsschuifknoppen (zoals BeOS R5)
Gain AudioMixer Versterking
Allow output channel remapping AudioMixer Uitvoerkanaal hermappen toelaten
Physical input channels AudioMixer Fysieke invoerkanalen
Input channel destinations AudioMixer Ingang kanaal bestemming
Resampling algorithm: AudioMixer Algoritme om te hersamplen:
Mute AudioMixer Dempen
Output mapping AudioMixer Uitgang mapping
Virtual output channels AudioMixer Virtuele uitvoerkanalen
Allow output channel remapping AudioMixer Uitvoerkanaal hermappen toelaten

View File

@ -1,27 +1,21 @@
1 polish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Regulacja wzmocnienia wejścia reprezentuje
Linear interpolation AudioMixer Interpolacja liniowa
Virtual output channels AudioMixer Wirtualne kanały wyjściowe
Refuse output format changes AudioMixer Odmów zmiany formatu wyjściowego
Output mapping AudioMixer Mapowanie wyjścia
Allow input channel remapping AudioMixer Pozwól ponownie mapować kanał wejściowy
Resampling algorithm AudioMixer Algorytm konwersji częstotliwości próbkowania
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Tłum wyjście miksera o 3dB (jak w BeOS R5)
Display balance control for stereo connections AudioMixer Wyświetl kontrolę balansu dla połączeń stereo
1 polish x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapowanie wejścia
To output AudioMixer Do wyjścia
not connected AudioMixer nie podłączony
Refuse output format changes AudioMixer Odmów zmiany formatu wyjściowego
Gain AudioMixer Wzmocnienie
To master AudioMixer Do głównego
Refuse input format changes AudioMixer Odmów zmiany formatu wejściowego
Drop/repeat samples AudioMixer Zostaw/powtórz sample
Output channel sources AudioMixer Źródła kanału wyjściowego
not connected AudioMixer nie podłączony
Master output AudioMixer Wyjście główne
dB AudioMixer dB
Gain controls AudioMixer Regulacja wzmocnienia
Input mapping AudioMixer Mapowanie wejścia
Mute AudioMixer Wycisz
Input channel destinations AudioMixer Miejsca kanału wejściowego
To master AudioMixer Do głównego
Master output AudioMixer Wyjście główne
Output channel sources AudioMixer Źródła kanału wyjściowego
Allow input channel remapping AudioMixer Pozwól ponownie mapować kanał wejściowy
Display balance control for stereo connections AudioMixer Wyświetl kontrolę balansu dla połączeń stereo
Setup AudioMixer Ustawienia
Use non linear gain sliders (like BeOS R5) AudioMixer Użyj nieliniowych suwaków wzmocnienia (jak w BeOS R5)
Gain AudioMixer Wzmocnienie
Allow output channel remapping AudioMixer Pozwól ponownie mapować kanał wyjściowy
Physical input channels AudioMixer Fizyczne kanały wejściowe
Input channel destinations AudioMixer Miejsca kanału wejściowego
Mute AudioMixer Wycisz
Output mapping AudioMixer Mapowanie wyjścia
Virtual output channels AudioMixer Wirtualne kanały wyjściowe
Allow output channel remapping AudioMixer Pozwól ponownie mapować kanał wyjściowy

View File

@ -1,27 +1,21 @@
1 portuguese x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Controles de ganho de entrada representam
Linear interpolation AudioMixer Interpolação linear
Virtual output channels AudioMixer Canais de saída virtuais
Refuse output format changes AudioMixer Recusar alterações do formato de saída
Output mapping AudioMixer Mapeamento de saída
Allow input channel remapping AudioMixer Permitir re-mapeamento do canal de entrada
Resampling algorithm AudioMixer Algoritmo de reamostragem
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenuar a saída do misturador em 3dB (como no BeOS R5)
Display balance control for stereo connections AudioMixer Mostrar ajuste de equilíbrio para ligações estéreo
1 portuguese x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapeamento de entrada
To output AudioMixer Para a saída
not connected AudioMixer não ligado
Refuse output format changes AudioMixer Recusar alterações do formato de saída
Gain AudioMixer Ganho
To master AudioMixer Para master
Refuse input format changes AudioMixer Recusar alterações do formato de entrada
Drop/repeat samples AudioMixer Descartar/repetir amostras
Output channel sources AudioMixer Origens de canal de saída
not connected AudioMixer não ligado
Master output AudioMixer Saída master
dB AudioMixer dB
Gain controls AudioMixer Controlos de ganho
Input mapping AudioMixer Mapeamento de entrada
Mute AudioMixer Silenciar
Input channel destinations AudioMixer Destinos de canal de entrada
To master AudioMixer Para master
Master output AudioMixer Saída master
Output channel sources AudioMixer Origens de canal de saída
Allow input channel remapping AudioMixer Permitir re-mapeamento do canal de entrada
Display balance control for stereo connections AudioMixer Mostrar ajuste de equilíbrio para ligações estéreo
Setup AudioMixer Configurar
Use non linear gain sliders (like BeOS R5) AudioMixer Usar controlo deslizante de ganho não linear (como no BeOS R5)
Gain AudioMixer Ganho
Allow output channel remapping AudioMixer Permitir re-mapeamento do canal de saída
Physical input channels AudioMixer Canais de entrada físicos
Input channel destinations AudioMixer Destinos de canal de entrada
Mute AudioMixer Silenciar
Output mapping AudioMixer Mapeamento de saída
Virtual output channels AudioMixer Canais de saída virtuais
Allow output channel remapping AudioMixer Permitir re-mapeamento do canal de saída

View File

@ -1,27 +1,21 @@
1 portuguese (brazil) x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Controles de ganho de entrada representam
Linear interpolation AudioMixer Interpolação linear
Virtual output channels AudioMixer Canais virtuais de saída
Refuse output format changes AudioMixer Recusar mudanças de formato de saída
Output mapping AudioMixer Mapeamento de saída
Allow input channel remapping AudioMixer Permitir remapeamento do canal de entrada
Resampling algorithm AudioMixer Algoritmo de reamostragem
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenuar saída do mixador em 3dB (como BeOS R5)
Display balance control for stereo connections AudioMixer Mostrar controle de balanço para conexões estéreo
1 portuguese (brazil) x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapear entrada
To output AudioMixer Para saída
not connected AudioMixer desconectado
Refuse output format changes AudioMixer Recusar mudanças de formato de saída
Gain AudioMixer Ganho
To master AudioMixer Ao mestre
Refuse input format changes AudioMixer Recusar mudanças no formato de entrada
Drop/repeat samples AudioMixer Parar/repetir amostras
Output channel sources AudioMixer Fontes do canal de saída
not connected AudioMixer desconectado
Master output AudioMixer Saída principal
dB AudioMixer dB
Gain controls AudioMixer Controles de ganho
Input mapping AudioMixer Mapear entrada
Mute AudioMixer Mudo
Input channel destinations AudioMixer Destinos do canal de entrada
To master AudioMixer Ao mestre
Master output AudioMixer Saída principal
Output channel sources AudioMixer Fontes do canal de saída
Allow input channel remapping AudioMixer Permitir remapeamento do canal de entrada
Display balance control for stereo connections AudioMixer Mostrar controle de balanço para conexões estéreo
Setup AudioMixer Configuração
Use non linear gain sliders (like BeOS R5) AudioMixer Usar botões deslizantes de ganho não linear (como BeOS R5)
Gain AudioMixer Ganho
Allow output channel remapping AudioMixer Permitir remapeamento do canal de saída
Physical input channels AudioMixer Canais de entrada físicos
Input channel destinations AudioMixer Destinos do canal de entrada
Mute AudioMixer Mudo
Output mapping AudioMixer Mapeamento de saída
Virtual output channels AudioMixer Canais virtuais de saída
Allow output channel remapping AudioMixer Permitir remapeamento do canal de saída

View File

@ -1,27 +1,24 @@
1 romanian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Controalele amplificării de intrare reprezintă
Linear interpolation AudioMixer Interpolare liniară
Virtual output channels AudioMixer Canale de ieșire virtuale
Refuse output format changes AudioMixer Refuză modificările de format de ieșire
Output mapping AudioMixer Maparea ieșirilor
Allow input channel remapping AudioMixer Permite remaparea canalului de intrare
Resampling algorithm AudioMixer Algoritm de reeșantionare
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Atenuează ieșirea de mixaj cu 3dB (ca BeOS R5)
Display balance control for stereo connections AudioMixer Afișează controlul de echilibru pentru conexiunile stereo
1 romanian x-vnd.Haiku-mixer.media_addon 3511569803
Input mapping AudioMixer Maparea intrării
High quality (linear interpolation) AudioMixer Calitate înaltă (interpolare liniară)
To output AudioMixer Spre ieșire
not connected AudioMixer nu este conectat
Refuse output format changes AudioMixer Refuză modificările de format de ieșire
Gain AudioMixer Amplificare
To master AudioMixer Spre principal
Refuse input format changes AudioMixer Refuză modificările de format de intrare
Drop/repeat samples AudioMixer Aruncă/repetă eșantioane
Output channel sources AudioMixer Surse de canal de ieșire
not connected AudioMixer nu este conectat
Master output AudioMixer Ieșire principală
dB AudioMixer dB
Gain controls AudioMixer Controale de amplificare
Input mapping AudioMixer Maparea intrării
Mute AudioMixer Mut
Input channel destinations AudioMixer Destinații de canal de ieșire
To master AudioMixer Spre principal
Master output AudioMixer Ieșire principală
Low quality (drop/repeat samples) AudioMixer Calitate scăzută (eșantioane de cădere/repetare)
Output channel sources AudioMixer Surse de canal de ieșire
Allow input channel remapping AudioMixer Permite remaparea canalului de intrare
Display balance control for stereo connections AudioMixer Afișează controlul de echilibru pentru conexiunile stereo
Setup AudioMixer Configurare
Use non linear gain sliders (like BeOS R5) AudioMixer Folosește glisoare de amplificare neliniare (ca BeOS R5)
Gain AudioMixer Amplificare
Allow output channel remapping AudioMixer Permite remaparea canalului de ieșire
Physical input channels AudioMixer Canale de intrare fizice
Input channel destinations AudioMixer Destinații de canal de ieșire
Resampling algorithm: AudioMixer Algoritm de re-eșantionare:
Mute AudioMixer Mut
Output mapping AudioMixer Maparea ieșirilor
Virtual output channels AudioMixer Canale de ieșire virtuale
Allow output channel remapping AudioMixer Permite remaparea canalului de ieșire

View File

@ -1,27 +1,21 @@
1 russian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Входные регуляторы усиления представляют
Linear interpolation AudioMixer Линейная интерполяция
Virtual output channels AudioMixer Виртуальные каналы выхода
Refuse output format changes AudioMixer Отклонять изменения выходного формата
Output mapping AudioMixer Переназначение выхода
Allow input channel remapping AudioMixer Разрешить переназначение входного канала
Resampling algorithm AudioMixer Алгоритм передискретизации
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Ослаблять вывод микшера на 3 дБ
Display balance control for stereo connections AudioMixer Показывать регулятор баланса для стерео соединений
1 russian x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Переназначение входа
To output AudioMixer Выход
not connected AudioMixer не подключен
Refuse output format changes AudioMixer Отклонять изменения выходного формата
Gain AudioMixer Усиление
To master AudioMixer К главному
Refuse input format changes AudioMixer Отклонять изменения входного формата
Drop/repeat samples AudioMixer Пропуск/повтор сэмплов
Output channel sources AudioMixer Источники выходного канала
not connected AudioMixer не подключен
Master output AudioMixer Основной выход
dB AudioMixer дБ
Gain controls AudioMixer Регулировка усиления
Input mapping AudioMixer Переназначение входа
Mute AudioMixer Выключить звук
Input channel destinations AudioMixer Направления входных каналов
To master AudioMixer К главному
Master output AudioMixer Основной выход
Output channel sources AudioMixer Источники выходного канала
Allow input channel remapping AudioMixer Разрешить переназначение входного канала
Display balance control for stereo connections AudioMixer Показывать регулятор баланса для стерео соединений
Setup AudioMixer Настройка
Use non linear gain sliders (like BeOS R5) AudioMixer Использовать нелинейные ползунки управления звуком
Gain AudioMixer Усиление
Allow output channel remapping AudioMixer Разрешить переназначение выходного канала
Physical input channels AudioMixer Физические каналы входа
Input channel destinations AudioMixer Направления входных каналов
Mute AudioMixer Выключить звук
Output mapping AudioMixer Переназначение выхода
Virtual output channels AudioMixer Виртуальные каналы выхода
Allow output channel remapping AudioMixer Разрешить переназначение выходного канала

View File

@ -1,27 +1,21 @@
1 slovak x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Ovládacie prvky vstupného zosilnenia predstavujú
Linear interpolation AudioMixer Lineárna interpolácia
Virtual output channels AudioMixer Virtuálne výstupné kanály
Refuse output format changes AudioMixer Odmietnuť zmeny výstupného formátu
Output mapping AudioMixer Mapovanie výstupu
Allow input channel remapping AudioMixer Povoliť premapovanie vstupného kanála
Resampling algorithm AudioMixer Algoritmus prevzorkovania
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Utlmiť výstup zmiešavača o 3dB (ako BeOS R5)
Display balance control for stereo connections AudioMixer Zobraziť ovládanie vyváženia pri stereo spojeniach
1 slovak x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer Mapovanie vstupu
To output AudioMixer Na výstup
not connected AudioMixer nepripojené
Refuse output format changes AudioMixer Odmietnuť zmeny výstupného formátu
Gain AudioMixer Zosilnenie
To master AudioMixer Na hlavný
Refuse input format changes AudioMixer Odmietnuť zmeny formátu vstupu
Drop/repeat samples AudioMixer Zahodiť/opakovať vzorky
Output channel sources AudioMixer Zdroje výstupného kanála
not connected AudioMixer nepripojené
Master output AudioMixer Hlavný výstup
dB AudioMixer dB
Gain controls AudioMixer Ovládanie zosilnenia
Input mapping AudioMixer Mapovanie vstupu
Mute AudioMixer Stlmiť
Input channel destinations AudioMixer Ciele vstupného kanála
To master AudioMixer Na hlavný
Master output AudioMixer Hlavný výstup
Output channel sources AudioMixer Zdroje výstupného kanála
Allow input channel remapping AudioMixer Povoliť premapovanie vstupného kanála
Display balance control for stereo connections AudioMixer Zobraziť ovládanie vyváženia pri stereo spojeniach
Setup AudioMixer Nastavenie
Use non linear gain sliders (like BeOS R5) AudioMixer Použiť nelineárne posuvníky zosilnenia (ako BeOS R5)
Gain AudioMixer Zosilnenie
Allow output channel remapping AudioMixer Povoliť premapovanie výstupných kanálov
Physical input channels AudioMixer Fyzické vstupné kanály
Input channel destinations AudioMixer Ciele vstupného kanála
Mute AudioMixer Stlmiť
Output mapping AudioMixer Mapovanie výstupu
Virtual output channels AudioMixer Virtuálne výstupné kanály
Allow output channel remapping AudioMixer Povoliť premapovanie výstupných kanálov

View File

@ -1,27 +1,22 @@
1 swedish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Input volymkontroll representation
Linear interpolation AudioMixer Linjär interpolering
Virtual output channels AudioMixer Virtuella utkanaler
Refuse output format changes AudioMixer Tillåt inte utformatändringar
Output mapping AudioMixer Utgångs mappning
Allow input channel remapping AudioMixer Tillåt ingång remapping
Resampling algorithm AudioMixer Omsamplings algoritm
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Dämpa mixerns utsignal med 3dB (som i BeOS R5)
Display balance control for stereo connections AudioMixer Visa balanskontroll för stereoanslutningar
1 swedish x-vnd.Haiku-mixer.media_addon 653252162
Input mapping AudioMixer Ingångs mappning
High quality (linear interpolation) AudioMixer Hög kvalitet (linjär interpolation)
To output AudioMixer Till utgång
not connected AudioMixer ej ansluten
Refuse output format changes AudioMixer Tillåt inte utformatändringar
Gain AudioMixer Volym
To master AudioMixer Till huvudkanal
Refuse input format changes AudioMixer Tillåt inte informatsändringar
Drop/repeat samples AudioMixer Ta bort/gör om samplingen
Output channel sources AudioMixer Källa till utgångs kanaler
not connected AudioMixer ej ansluten
Master output AudioMixer Utgång för huvudkanal
dB AudioMixer dB
Gain controls AudioMixer Volymkontroller
Input mapping AudioMixer Ingångs mappning
Mute AudioMixer Tyst
Input channel destinations AudioMixer Ingångskanalens mål
To master AudioMixer Till huvudkanal
Master output AudioMixer Utgång för huvudkanal
Output channel sources AudioMixer Källa till utgångs kanaler
Allow input channel remapping AudioMixer Tillåt ingång remapping
Display balance control for stereo connections AudioMixer Visa balanskontroll för stereoanslutningar
Setup AudioMixer Inställningar
Use non linear gain sliders (like BeOS R5) AudioMixer Använd icke-linjärna volymkontroller (som i BeOS R5)
Gain AudioMixer Volym
Allow output channel remapping AudioMixer Tillåt ommappning av utgående kanal
Physical input channels AudioMixer Fysiska ingångskanaler
Input channel destinations AudioMixer Ingångskanalens mål
Mute AudioMixer Tyst
Output mapping AudioMixer Utgångs mappning
Virtual output channels AudioMixer Virtuella utkanaler
Allow output channel remapping AudioMixer Tillåt ommappning av utgående kanal

View File

@ -1,27 +1,21 @@
1 thai x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer แสดงการควบคุมการรับข้อมูล
Linear interpolation AudioMixer การแก้ไขเชิงเส้น
Virtual output channels AudioMixer ช่องสัญญาณออกจำลอง
Refuse output format changes AudioMixer ปฏิเสธการเปลี่ยนแปลงรูปแบบข้อมูลออก
Output mapping AudioMixer แผนที่ข้อมูลออก
Allow input channel remapping AudioMixer อนุญาตให้ทำแผนที่ช่องสัญญาณข้อมูลเข้าใหม่
Resampling algorithm AudioMixer อัลกอริทึมการสุ่มตัวอย่างใหม่
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer ลดทอนการผสมข้อมูลออกโดย 3dB (อย่างเดียวกับ BeOS R5)
Display balance control for stereo connections AudioMixer แสดงการควบคุมยอดสมดุลสำหรับการเชื่อมต่อสเตอริโอ
1 thai x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer การทำแผนที่ข้อมูลเข้า
To output AudioMixer ไปยังข้อมูลออก
not connected AudioMixer ไม่เชื่อมต่อ
Refuse output format changes AudioMixer ปฏิเสธการเปลี่ยนแปลงรูปแบบข้อมูลออก
Gain AudioMixer ได้รับ
To master AudioMixer เพื่อข้อมูลหลัก
Refuse input format changes AudioMixer ปฎิเสธการเปลี่ยนแปลงข้อมูลเข้า
Drop/repeat samples AudioMixer วาง/ทำซ้ำตัวอย่าง
Output channel sources AudioMixer แหล่งช่องสัญญาณออ
not connected AudioMixer ไม่เชื่อมต่อ
Master output AudioMixer ข้อมูลออกหลัก
dB AudioMixer dB
Gain controls AudioMixer ได้รับการควบคุม
Input mapping AudioMixer การทำแผนที่ข้อมูลเข้า
Mute AudioMixer เงียบ
Input channel destinations AudioMixer ปลายทางช่องข้อมูลเข้า
To master AudioMixer เพื่อข้อมูลหลัก
Master output AudioMixer ข้อมูลออกหลัก
Output channel sources AudioMixer แหล่งช่องสัญญาณออก
Allow input channel remapping AudioMixer อนุญาตให้ทำแผนที่ช่องสัญญาณข้อมูลเข้าใหม่
Display balance control for stereo connections AudioMixer แสดงการควบคุมยอดสมดุลสำหรับการเชื่อมต่อสเตอริโอ
Setup AudioMixer ติดตั้ง
Use non linear gain sliders (like BeOS R5) AudioMixer ใช้แถบเลื่อนที่ไม่ได้รับเชิงเส้น (เช่นเดียวกับ BeOS R5)
Gain AudioMixer ได้รับ
Allow output channel remapping AudioMixer อนุญาตการทำแผนที่ช่องข้อมูลออกใหม่
Physical input channels AudioMixer ช่องสัญญาณทางกายภาพ
Input channel destinations AudioMixer ปลายทางช่องข้อมูลเข้า
Mute AudioMixer เงียบ
Output mapping AudioMixer แผนที่ข้อมูลออก
Virtual output channels AudioMixer ช่องสัญญาณออกจำลอง
Allow output channel remapping AudioMixer อนุญาตการทำแผนที่ช่องข้อมูลออกใหม่

View File

@ -1,27 +1,26 @@
1 turkish x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Girdi kazanım denetimleri şunu yansıtmakta:
Linear interpolation AudioMixer Doğrusal aradeğerleme
Virtual output channels AudioMixer Sanal çıktı kanalları
Refuse output format changes AudioMixer Çıktı biçimi değişimlerini reddet
Output mapping AudioMixer Çıktı eşleme
Allow input channel remapping AudioMixer Girdi kanalı yeniden eşlemesine izin ver
Resampling algorithm AudioMixer Yeniden örnekleme algoritması
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Karıştırıcı çıktısını 3dB azalt (BeOS R5'teki gibi)
Display balance control for stereo connections AudioMixer Çift kanallı bağlantılar için denge denetimini göster
1 turkish x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Girdi eşleme
High quality (linear interpolation) AudioMixer Yüksek kalite (doğrusal aradeğerleme)
To output AudioMixer Çıktıya
not connected AudioMixer bağlı değil
Refuse output format changes AudioMixer Çıktı biçimi değişimlerini reddet
Gain AudioMixer Kazanım
To master AudioMixer Ana denetleyiciye
Refuse input format changes AudioMixer Girdi biçimi değişikliklerini reddet
Drop/repeat samples AudioMixer Örnekleri bırak/tekrar et
Output channel sources AudioMixer Çıktı kanalı kaynakları
not connected AudioMixer bağlı değil
Master output AudioMixer Ana çıktı
dB AudioMixer dB
Gain controls AudioMixer Kazanım ayarları
Input mapping AudioMixer Girdi eşleme
Mute AudioMixer Sessiz
Input channel destinations AudioMixer Girdi kanalı hedefleri
To master AudioMixer Ana denetleyiciye
Master output AudioMixer Ana çıktı
Low quality (drop/repeat samples) AudioMixer Düşük kalite (örneklemeleri bırak/yinele)
Output channel sources AudioMixer Çıktı kanalı kaynakları
Allow input channel remapping AudioMixer Girdi kanalı yeniden eşlemesine izin ver
Display balance control for stereo connections AudioMixer Çift kanallı bağlantılar için denge denetimini göster
Setup AudioMixer Kurulum
Use non linear gain sliders (like BeOS R5) AudioMixer Doğrusal olmayan kazanım kaydırıcısı kullan (BeOS R5'teki gibi)
Gain AudioMixer Kazanım
Allow output channel remapping AudioMixer Çıktı kanalı yeniden eşlemesine izin ver
Physical input channels AudioMixer Fiziksel girdi kanalları
Input channel destinations AudioMixer Girdi kanalı hedefleri
Resampling algorithm: AudioMixer Yeniden örnekleme algoritması:
Mute AudioMixer Sessiz
Output mapping AudioMixer Çıktı eşleme
Virtual output channels AudioMixer Sanal çıktı kanalları
Allow output channel remapping AudioMixer Çıktı kanalı yeniden eşlemesine izin ver
Input gain controls represent: AudioMixer Giriş artışı denetimleri şunları belirtir:
Attenuate mixer output by 3 dB AudioMixer Karıştırıcı çıkışını 3 dB azalt

View File

@ -1,27 +1,26 @@
1 ukrainian x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer Представлення регуляторів підсилення вхідного сигналу
Linear interpolation AudioMixer Лінійна інтерполяція
Virtual output channels AudioMixer Віртуальні вихідні канали
Refuse output format changes AudioMixer Відхилити зміни вихідного формату
Output mapping AudioMixer Перепризначення виходу
Allow input channel remapping AudioMixer Дозволити перепризначення вхідного каналу
Resampling algorithm AudioMixer Алгоритм передискретизації
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer Послабити вихід мікшера на 3 дБ (як у BeOS R5)
Display balance control for stereo connections AudioMixer Показати регулятор балансу для стереоз'єднань
1 ukrainian x-vnd.Haiku-mixer.media_addon 3797408169
Input mapping AudioMixer Перепризначення входу
High quality (linear interpolation) AudioMixer Висока якість (лінійна інтерполяція)
To output AudioMixer До виходу
not connected AudioMixer не приєднано
Refuse output format changes AudioMixer Відхилити зміни вихідного формату
Gain AudioMixer Підсилення
To master AudioMixer До головного
Refuse input format changes AudioMixer Відхилити зміни вхідного формату
Drop/repeat samples AudioMixer Пропуск/повтор семплів
Output channel sources AudioMixer Джерела вихідного канала
not connected AudioMixer не приєднано
Master output AudioMixer Головний вихід
dB AudioMixer дБ
Gain controls AudioMixer Регулювання підсилення
Input mapping AudioMixer Перепризначення входу
Mute AudioMixer Заглушити
Input channel destinations AudioMixer Напрямки вхідних каналів
To master AudioMixer До головного
Master output AudioMixer Головний вихід
Low quality (drop/repeat samples) AudioMixer Низька якість (пропуски/повтор семплів)
Output channel sources AudioMixer Джерела вихідного канала
Allow input channel remapping AudioMixer Дозволити перепризначення вхідного каналу
Display balance control for stereo connections AudioMixer Показати регулятор балансу для стереоз'єднань
Setup AudioMixer Настройки
Use non linear gain sliders (like BeOS R5) AudioMixer Використовувати нелінійні регулятори підсилення (як у BeOS R5)
Gain AudioMixer Підсилення
Allow output channel remapping AudioMixer Дозволити перепризначення вихідного каналу
Physical input channels AudioMixer Фізичні вхідні канали
Input channel destinations AudioMixer Напрямки вхідних каналів
Resampling algorithm: AudioMixer Алгоритм передискретизації:
Mute AudioMixer Заглушити
Output mapping AudioMixer Перепризначення виходу
Virtual output channels AudioMixer Віртуальні вихідні канали
Allow output channel remapping AudioMixer Дозволити перепризначення вихідного каналу
Input gain controls represent: AudioMixer Регулятор вхідного підсилення діє на:
Attenuate mixer output by 3 dB AudioMixer Знизити вихід мікшера на 3 дБ

View File

@ -1,27 +1,21 @@
1 english x-vnd.Haiku-mixer.media_addon 3450667169
Input gain controls represent AudioMixer 输入增益控制表示
Linear interpolation AudioMixer 线性插补
Virtual output channels AudioMixer 虚拟输出通道
Refuse output format changes AudioMixer 禁止改变输出格式
Output mapping AudioMixer 输出映射
Allow input channel remapping AudioMixer 启用输入频道重映射
Resampling algorithm AudioMixer 重采样算法
Attenuate mixer output by 3dB (like BeOS R5) AudioMixer 将输出音量衰减 3dB (类似 BeOS R5)
Display balance control for stereo connections AudioMixer 为立体声系统显示均衡控制器
1 english x-vnd.Haiku-mixer.media_addon 2690542047
Input mapping AudioMixer 输入映射
To output AudioMixer 输出
not connected AudioMixer 未连接
Refuse output format changes AudioMixer 禁止改变输出格式
Gain AudioMixer 增益
To master AudioMixer 到主音量
Refuse input format changes AudioMixer 禁止输入格式改变
Drop/repeat samples AudioMixer 拽入/重复采样
Output channel sources AudioMixer 输出通道源
not connected AudioMixer 未连接
Master output AudioMixer 主音量输出
dB AudioMixer 分贝
Gain controls AudioMixer 增益控制
Input mapping AudioMixer 输入映射
Mute AudioMixer 静音
Input channel destinations AudioMixer 输入通道目标
To master AudioMixer 到主音量
Master output AudioMixer 主音量输出
Output channel sources AudioMixer 输出通道源
Allow input channel remapping AudioMixer 启用输入频道重映射
Display balance control for stereo connections AudioMixer 为立体声系统显示均衡控制器
Setup AudioMixer 配置
Use non linear gain sliders (like BeOS R5) AudioMixer 使用非线性增益滚动条(类似 BeOS R5)
Gain AudioMixer 增益
Allow output channel remapping AudioMixer 启用输出频道重映射
Physical input channels AudioMixer 物理输入频道
Input channel destinations AudioMixer 输入通道目标
Mute AudioMixer 静音
Output mapping AudioMixer 输出映射
Virtual output channels AudioMixer 虚拟输出通道
Allow output channel remapping AudioMixer 启用输出频道重映射

View File

@ -9,26 +9,26 @@ Tone control MultiAudio Tone control
Phone MultiAudio Phone
Aux MultiAudio Aux
Output bass MultiAudio Output bass
Headphones MultiAudio Headphones
Headphones MultiAudio ヘッドホン
Beep MultiAudio Beep
Output mono mix MultiAudio Output mono mix
Output stereo mix MultiAudio Output stereo mix
Input MultiAudio Input
Input MultiAudio 入力
Output treble MultiAudio Output treble
Mono mix MultiAudio Mono mix
General MultiAudio General
Input & Output MultiAudio Input & Output
General MultiAudio 一般
Input & Output MultiAudio 入出力
Enhanced Setup MultiAudio 高度なセットアップ
Stereo mix MultiAudio Stereo mix
Output 3D depth MultiAudio Output 3D depth
Volume MultiAudio 音量
Output MultiAudio Output
Video MultiAudio Video
Output MultiAudio 出力
Video MultiAudio ビデオ
Line MultiAudio Line
Mic MultiAudio Mic
frequency: MultiAudio 周波数:
Enable MultiAudio 有効にする
Mute MultiAudio Mute
Mute MultiAudio ミュート
Wave MultiAudio Wave
Setup MultiAudio セットアップ
Level MultiAudio Level
Level MultiAudio レベル

View File

@ -1,2 +1,2 @@
1 ukrainian x-vnd.Haiku-ButterflyScreensaver 3604552753
by Geoffry Song Screensaver Butterfly by Geoffry Song
by Geoffry Song Screensaver Butterfly розробник Geoffry Song

View File

@ -1,4 +1,4 @@
1 ukrainian x-vnd.Haiku-DebugNowScreensaver 3664380395
DEBUG Screensaver DebugNow keep it short and all uppercase, 5 characters or less DEBUG
by Ryan Leavengood Screensaver DebugNow by Ryan Leavengood
by Ryan Leavengood Screensaver DebugNow розробник Ryan Leavengood
NOW Screensaver DebugNow keep it short and all uppercase, 5 characters or less ЗАРАЗ

View File

@ -1,10 +1,9 @@
1 belarusian x-vnd.Haiku-GLifeScreensaver 2955223231
1 belarusian x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver распрацавана Aaron Hill
Grid life delay: none GLife ScreenSaver Затрымка сетки: няма
None GLife ScreenSaver Няма
Grid height: %li GLife ScreenSaver Вышыня сеткі: %li
Grid width: GLife ScreenSaver Шырыня сетки:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Затрымка сетки: %dx
Grid border: %li GLife ScreenSaver Мяжа сетки: %li
Grid border: GLife ScreenSaver Мяжа сетки:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Гульня Life\"

View File

@ -1,14 +1,14 @@
1 catalan; valencian x-vnd.Haiku-GLifeScreensaver 2955223231
1 catalan; valencian x-vnd.Haiku-GLifeScreensaver 358758987
by Aaron Hill GLife ScreenSaver per Aaron Hill
Grid life delay: none GLife ScreenSaver Retard de l'activació de la graella: cap
None GLife ScreenSaver Cap
Grid height: %li GLife ScreenSaver Alçada de la graella: %li
Grid width: GLife ScreenSaver Amplada de la graella:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Retard de l'activació de la graella: %dx
Grid border: %li GLife ScreenSaver Vora de la graella: %li
Grid border: GLife ScreenSaver Vora de la graella:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Joc de la Vida\"
Grid height: GLife ScreenSaver Alçada de la graella:
4x GLife ScreenSaver This is a factor: the x represents 'times' 4x
Grid width: %li GLife ScreenSaver Amplada de la graella: %li
Grid life delay: %ldx This is a factor: the x represents 'times', don't translate '%ld' Retard de la vida de la graella: %ldx
Grid life delay: GLife ScreenSaver Retard de l'activació de la graella:

View File

@ -1,10 +1,9 @@
1 czech x-vnd.Haiku-GLifeScreensaver 2955223231
1 czech x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver napsal Aaron Hill
Grid life delay: none GLife ScreenSaver Životnost mřížky: žádná
None GLife ScreenSaver Žádná
Grid height: %li GLife ScreenSaver Výška mřížky: %li
Grid width: GLife ScreenSaver Šířka mřížky:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Životnost mřížky: %dx
Grid border: %li GLife ScreenSaver Okraj mřížky: %li
Grid border: GLife ScreenSaver Okraj mřížky:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Hra života\"

View File

@ -1,10 +1,9 @@
1 danish x-vnd.Haiku-GLifeScreensaver 2955223231
1 danish x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver af Aaron Hill
Grid life delay: none GLife ScreenSaver Forsinkelse for gitterliv: none
None GLife ScreenSaver Ingen
Grid height: %li GLife ScreenSaver Gitterhøjde: %li
Grid width: GLife ScreenSaver Gitterbredde:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Forsinkelse for gitterliv: %dx
Grid border: %li GLife ScreenSaver Gitterkant: %li
Grid border: GLife ScreenSaver Gitterkant:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Game of Life\"

View File

@ -1,14 +1,14 @@
1 german x-vnd.Haiku-GLifeScreensaver 2955223231
1 german x-vnd.Haiku-GLifeScreensaver 358758987
by Aaron Hill GLife ScreenSaver von Aaron Hill
Grid life delay: none GLife ScreenSaver Verzögerung: keine
None GLife ScreenSaver keine
Grid height: %li GLife ScreenSaver Rasterhöhe: %li
Grid width: GLife ScreenSaver Rasterbreite:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Verzögerung: %dx
Grid border: %li GLife ScreenSaver Rastergrenze: %li
Grid border: GLife ScreenSaver Rastergrenze:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Spiel des Lebens\"
Grid height: GLife ScreenSaver Rasterhöhe:
4x GLife ScreenSaver This is a factor: the x represents 'times' 4x
Grid width: %li GLife ScreenSaver Rasterbreite: %li
Grid life delay: %ldx This is a factor: the x represents 'times', don't translate '%ld' Verzögerung: %ldx
Grid life delay: GLife ScreenSaver Verzögerung:

View File

@ -1,10 +1,9 @@
1 greek, modern (1453-) x-vnd.Haiku-GLifeScreensaver 2955223231
1 greek, modern (1453-) x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver από τον Aaron Hill
Grid life delay: none GLife ScreenSaver Επέκταση ζωής κελιού: καμία
None GLife ScreenSaver Κανένα
Grid height: %li GLife ScreenSaver Ύψος κελιού: %li
Grid width: GLife ScreenSaver Πλάτος κελιού:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Επέκταση ζωής κελιού: %dx
Grid border: %li GLife ScreenSaver Περίγραμμα κελιού: %li
Grid border: GLife ScreenSaver Περίγραμμα κελιού:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Παιχνίδι της Ζωής\"

View File

@ -1,10 +1,9 @@
1 esperanto x-vnd.Haiku-GLifeScreensaver 2955223231
1 esperanto x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver de Aaron Hill
Grid life delay: none GLife ScreenSaver Kadroviva prokrasto: neniu
None GLife ScreenSaver Neniu
Grid height: %li GLife ScreenSaver Kadroalto: %li
Grid width: GLife ScreenSaver Kadrolarĝo:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Kadrovivo prokrasto: %d-foje
Grid border: %li GLife ScreenSaver Krada bordero: %li
Grid border: GLife ScreenSaver Krada bordero:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Ludo de la vivo\"

View File

@ -1,10 +1,9 @@
1 spanish; castilian x-vnd.Haiku-GLifeScreensaver 2955223231
1 spanish; castilian x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver por Aaron Hill
Grid life delay: none GLife ScreenSaver Demora de la cuadrícula: ninguna
None GLife ScreenSaver Ninguno
Grid height: %li GLife ScreenSaver Altura de la cuadrícula: %li
Grid width: GLife ScreenSaver Anchura de la cuadrícula:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Demora de activación de la cuadrícula: %dx
Grid border: %li GLife ScreenSaver Borde de la cuadrícula: %li
Grid border: GLife ScreenSaver Borde de la cuadrícula:
OpenGL \"Game of Life\" GLife ScreenSaver \"El juego de la vida\" OpenGL

View File

@ -1,10 +1,9 @@
1 finnish x-vnd.Haiku-GLifeScreensaver 2955223231
1 finnish x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver tekijä: Aaron Hill
Grid life delay: none GLife ScreenSaver Rasterin käyttöikäviive: ei mitään
None GLife ScreenSaver Ei mitään
Grid height: %li GLife ScreenSaver Rasterikorkeus: %li
Grid width: GLife ScreenSaver Rasterileveys:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Rasterin käyttöikäviive: %dx
Grid border: %li GLife ScreenSaver Rasteriraja: %li
Grid border: GLife ScreenSaver Rasteriraja:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL ”Elämänpeli”

View File

@ -1,14 +1,14 @@
1 french x-vnd.Haiku-GLifeScreensaver 2955223231
1 french x-vnd.Haiku-GLifeScreensaver 358758987
by Aaron Hill GLife ScreenSaver par Aaron Hill
Grid life delay: none GLife ScreenSaver Délai de vie de la grille : aucun
None GLife ScreenSaver Aucun
Grid height: %li GLife ScreenSaver Hauteur de la grille : %li
Grid width: GLife ScreenSaver Largeur de la grille :
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Délai de vie de la grille : %dx
Grid border: %li GLife ScreenSaver Bordure de la grille : %li
Grid border: GLife ScreenSaver Bordure de la grille :
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL « Jeu de la vie »
Grid height: GLife ScreenSaver Hauteur de la grille :
4x GLife ScreenSaver This is a factor: the x represents 'times' 4x
Grid width: %li GLife ScreenSaver Largeur de la grille : %li
Grid life delay: %ldx This is a factor: the x represents 'times', don't translate '%ld' Délai de vie de la grille : %ldx
Grid life delay: GLife ScreenSaver Délai de vie de la grille :

View File

@ -1,10 +1,9 @@
1 friulian x-vnd.Haiku-GLifeScreensaver 2955223231
1 friulian x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver di Aaron Hill
Grid life delay: none GLife ScreenSaver Ritart te gridele de vite: nissun
None GLife ScreenSaver Nissun
Grid height: %li GLife ScreenSaver Altece gridele: %li
Grid width: GLife ScreenSaver Largjece gridele:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Ritart te gridele de vite: %dx
Grid border: %li GLife ScreenSaver Ôr gridele: %li
Grid border: GLife ScreenSaver Ôr gridele:
OpenGL \"Game of Life\" GLife ScreenSaver Il \"Zûc de Vite\" in version OpenGL

View File

@ -1,10 +1,9 @@
1 hungarian x-vnd.Haiku-GLifeScreensaver 2955223231
1 hungarian x-vnd.Haiku-GLifeScreensaver 2189777521
by Aaron Hill GLife ScreenSaver Készítette: Aaron Hill
Grid life delay: none GLife ScreenSaver Késleltetés: nincs
None GLife ScreenSaver Nincs
Grid height: %li GLife ScreenSaver Magasság: %li
Grid width: GLife ScreenSaver Szélesség:
Grid life delay: %dx This is a factor: the x represents 'times', don't translate '%d' Késleltetés: %dx
Grid border: %li GLife ScreenSaver Keret: %li
Grid border: GLife ScreenSaver Keret:
OpenGL \"Game of Life\" GLife ScreenSaver OpenGL \"Életjáték\"

Some files were not shown because too many files have changed in this diff Show More