66522 Commits

Author SHA1 Message Date
Fabio Tomat
7f2dcab0e6 intel_extreme: enable support for GeminiLake and IceLake devices.
Change-Id: I192db4329b92723a3ea988dabb85e595bcc0d686
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8083
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Oscar Lesta <oscar.lesta@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
hrev58044
2024-09-01 13:34:36 +00:00
John Scipione
4d5c2f8da2 Tracker: BView => _inherited in Find window AttachedToWindow()
Does the same thing but _inherited is used so we can change the class.

Change-Id: I6c0bf7b35917da55a3bd4aa15b5bb80063f2b02a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8150
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58043
2024-09-01 02:22:44 +00:00
Michael Lotz
be1d1fa3ab libroot_debug: Cleanup: Factor out duplicated code.
Change-Id: I2806055a1e1b1f6b1768184b36440195af41afa3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8167
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58042
2024-08-31 20:03:47 +00:00
Michael Lotz
c08e54426e libroot_debug: Use overcommitting and MADV_FREE in guarded heap.
This allows both guard pages and freed allocations, when memory reuse is
disabled, to be returned to the system, massively reducing the pages that
are actually needed.

The guarded heap obviously still wastes a lot of memory due to using a
dedicated page for every tiny allocation. But with this change it
becomes realistic to run the full userland under the guarded heap for
more than a couple of minutes and with more complex applications than
before.

Change-Id: I479e822f9dbeea3968d41b66fc55b0d285a1f57e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8166
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-08-31 20:03:47 +00:00
Niklas Poslovski
252421dcb7 AboutSystem: Add myself to contributors list
Change-Id: Ic6a77722db35d6e8199c3c2c70b3fb0f7c2e403a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7950
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
hrev58041
2024-08-31 20:03:00 +00:00
Augustin Cavalier
494eb33b6a AVLTreeBase: Clear node's pointers after removal.
To be safe, in case something tries to double-remove.
hrev58040
2024-08-31 14:11:24 -04:00
Augustin Cavalier
4e88440d3f packagefs: Use ClassCache for UnpackingDirectory and UnpackingLeafNode.
This shifts another big chunk of packagefs memory usage into dedicated
object caches. It saves a small amount of memory since now we use
caches sized exactly to the object size plus alignment rather than
rounding up to the block allocator size, and also makes clearer in memory
usage statistics how much memory packagefs is using.
hrev58039
2024-08-31 13:16:46 -04:00
Augustin Cavalier
b60fa5fa05 packagefs: Use only one object_cache for all TwoKeyAVLTreeNodes.
Previously there were 6, all with the exact same object size.
2024-08-31 13:15:17 -04:00
Augustin Cavalier
706d9ddd10 packagefs: Use "pkgfs" in object cache names.
Makes the "slabs" KDL command output align better.
2024-08-31 13:14:10 -04:00
John Scipione
3399bac1b2 Tracker: Fix pose UpdateIcon() list mode top
We don't need to set the top here, it is already set by CalcRect()
a couple lines up. Our calculation was slightly off causing bug.

Fixes #12558

Change-Id: I022cc661cf55a9d016fd722c701f05fc1f9fea4f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8165
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58038
2024-08-31 17:04:45 +00:00
Augustin Cavalier
1c22c2608f mknod[at]: Implement the case where the node type is S_IFIFO.
This is the only case the POSIX specification indicates is portable.
We may be able to implement some of the others that Linux or the BSDs
support if it turns out there are applications that want them, though.

Fixes #19032.
hrev58037
2024-08-31 11:56:21 -04:00
Augustin Cavalier
62b6a4181d mkfifo: Define in terms of mkfifoat().
Should be functionally equivalent, but makes it clearer what the
difference is. Also use AT_FDCWD (which is now -100) rather than -1.
2024-08-31 11:54:56 -04:00
Autocomitter
43f1c21fdb Update translations from Pootle hrev58036 2024-08-31 08:12:42 +00:00
Augustin Cavalier
07cfddfa0c kernel/x86: Rework handling of %edx in syscall handler (again.)
The previous change to this logic (9921f444625e360674f92db84ffae695492233a5)
apparently caused intermittent crashes with various applications. It
seems that EDX is not expected to be clobbered by functions that do not have 64-bit return values, and if it is, crashes result, like #19024.

This commit reworks the logic to not change %edx in the iframe at all
if we don't have a 64-bit return value, and then adjusts the debug logic
to clear %edx before invoking the post-syscall debugger hook. This means
we have to run the post-syscall debugger hook before clearing the
flags, but that should be fine (and perhaps even useful.)

Fixes #19024, and possibly other crashes that have cropped up on
32-bit x86 in the last few weeks, at least.

Change-Id: I3280033bc2dd05aca254555d6ee3b173a270ebf9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8158
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Michael Lotz <mmlr@mlotz.ch>
hrev58035
2024-08-30 20:50:07 +00:00
Michael Lotz
d8df56379c DHCPClient: Fix use of uninitialized timing values.
The fRenewalTime and fRebindingTime members were never initialized but
assumed to be initially set to 0 when not provided by the DHCP server.
This could lead to negative time values depending on the uninitialized
memory content and would always happen under libroot_debug where memory
is initially cleared to 0xcc. The negative times then lead to endless
loops of sending requests.

Change-Id: I74a5fbd0c75f7de925f591f09db663978ea3f0ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8157
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58034
2024-08-30 16:13:24 +00:00
Augustin Cavalier
729906049a DateTimeEdit: Use document colors.
Otherwise the controls look like they are "disabled" and can't be
edited.

Ideally this class would be refactored to use BAbstractSpinner rather
than drawing its own arrows, but that's a problem for another day.
hrev58033
2024-08-29 17:45:57 -04:00
Augustin Cavalier
33e9a82042 protocols/unix: Hold an extra reference during stream endpoint close.
See inline comment: otherwise it might be deleted when we
release it in Disconnect() but before we unlock it.

Also fix _LockConnectedEndpoints() to unset the locker object if
returning an error, rather than returning a locked endpoint that
we don't hold a reference to.

Fixes #18927.
hrev58032
2024-08-29 16:14:01 -04:00
Augustin Cavalier
e776c8dee5 libnetwork: Only build BeOS compatibility code if _BEOS_R5_COMPATIBLE_ is set. hrev58031 2024-08-29 15:30:08 -04:00
John Scipione
fc07afd4bc Create symbolic link when drag and dropping files from a virtual folder
... instead of making a copy like normal. This changes the default
behavior, you may override it by context-click dragging and selecting
Copy or holding the option key to force copy.

Implements #18729

Change-Id: Ib13bec347f300d25de77064ced79693ecbc3a85c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8144
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58030
2024-08-29 16:46:02 +00:00
John Scipione
7616fbf28d Tracker: Change On => Target: before volume field in Find window
Change-Id: Ie1725007d1534736b7252024bfb0b1cbcc3c446a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8146
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58029
2024-08-29 15:52:11 +00:00
John Scipione
6fd95ed760 Tracker: Fix "Find" window menu field truncating
Minimum menu field width is set by "multiple selections" string width
on volumes menu field or a smaller size that matches R1B4 on rest.
Maximum menu field width chosen to match current based on font size.

Set the max content width to truncate long mime-type names that don't
fit. Add room for the pop-up indicator.

Create member variables to hold menu fields. Resize the menu fields in
AttachedToWindow() after they have been marked because the width
depends on the marked item.

Set member pointers to NULL in constructor where not already set.
ASSERT variables we use are not NULL, they aren't but check anyway.

Use DefaultLabelSpacing() for the spacing between icon and text to make
them font sensitive. DefaultLabelSpacing() is 5px at 12pt font matching
current.

Fixes #18999

Change-Id: I0e52b5aa557c8b5d76f09e0b60fcb965e3ff65e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8143
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-08-29 15:52:11 +00:00
John Scipione
af440edade Tracker: Put On back before volume field in Find window
Change-Id: Id1138bd9e79b37e30df4c8079f0b0e8cbe3c4d03
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8145
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-08-29 15:52:11 +00:00
John Scipione
6d94fbc3cf Tracker: Style changes related to Find window
Change-Id: I78f416276f9e7357ddb18c91450c16a6f5abd37f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8147
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-08-29 15:52:11 +00:00
Owen Anderson
108f6fdc2f arm64: Clean up memory GetMemoryAttr.
* Introduce semantic constancts for more attributes.

Change-Id: Ib8f778b2bb09bff3791208d10b19393f6f445178
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8114
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev58028
2024-08-29 08:10:03 +00:00
Owen Anderson
18a27fe051 arm64: Full implementation of MakeTable
* Move towards defined constants for getting and setting PTE types.

Change-Id: Ia655b00b4de5ec49a01bf902626d63138e3bbeb1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8113
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-08-29 08:10:03 +00:00
Owen Anderson
aacfea4fb4 arm64/clang: Fix build with clang/lld
* Move .got to be adjacent to other relro sections.
* Use PC-relative accesses to set the fault handler in
  arch_debug_call_with_fault_handler.

Change-Id: I52eec7e2525c15ec50eb4b83e4740519a76cd4a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8111
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-08-29 08:10:03 +00:00
Owen Anderson
9fad0a5c70 arm64: Implement address space switching
* Reference count address spaces to reuse ASIDs as needed.
* Current implementation allows up to 256 actively scheduled tasks.

Change-Id: I71e10fdb6aa0c863a6beea54d4bc07032d9a6eb3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8109
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-08-29 08:10:03 +00:00
Owen Anderson
7908993d6f arm64: Implement translation map freeing
* Implement freeing of page tables.
* Basic infrastructure for ASID tracking.

Change-Id: Ia89ccb157badf9784d5086ccbdcba98527cd880b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8104
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-08-29 08:10:03 +00:00
Owen Anderson
c37d2d8eaa arm64: Create an empty page table for use as a placeholder page table.
Change-Id: Iff78f06a7abd6b2403e521b252c011d37f657c60
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8103
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2024-08-29 08:10:03 +00:00
Autocomitter
fa359dc091 Update translations from Pootle hrev58027 2024-08-28 15:45:28 +00:00
Humdinger
492a07f2c7 Find panel: GUI string changes
* Move "Open..." menu to the top, above the save items, as is usual for
  Haiku apps.

* Capitalize "Trash", as in the rest of Haiku; it's the concept of "Trash",
  i.e. of all mounted volumes.

* Replace the volume-popup label "On" with "Target:". After limiting the
  query to folders was added, "on" wasn't grammatically correct any more.

Change-Id: Id8a65d287af0b154956b1018599876d276a33bda
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8110
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58026
2024-08-28 15:20:56 +00:00
Humdinger
e5767a2833 HaikuDepot: fix copy paste error in status string
Change-Id: I9d0bd0183d9ac0e43d4746753818c6eee1931da1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8142
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58025
2024-08-28 06:37:31 +00:00
Michael Lotz
a272ee798f package_repo: Add "-t" argument to update command.
When set, the package names provided in the file list are assumed to be
in their canonical form and the package files are not accessed to build
canonical names from their package info.

This allows for delta updates where package files are only listed in the
file list but are not present or valid in the packages directory.

This does not fundamentally change the risks of such updates as the
checksum of packages was already not revalidated and replaced packages
were therefore already not detected.

Change-Id: I3a10794858384fe17374eb0469dd4bd4e024253a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8138
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58024
2024-08-27 15:29:53 +00:00
Murai Takashi
1c3b53c446 FindPanel: fix branch condition evaluates to a garbage value
Fixed dynamicDate used without initialization at line 730,
since GetPredicateString() might not set value to dynamicDate.
Pointed out by Clang Static Analyzer.

Change-Id: I4698fdada4b91183c7bdba5aa980ddc6b55e6312
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7946
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58023
2024-08-27 15:28:54 +00:00
Adrien Destugues
64b7d332ba Add a note about why some parts of the code are not built with -Werror. hrev58022 2024-08-27 13:08:06 +02:00
Adrien Destugues
4cce55e112 Revert "ArchitectureRules: Remove lines for -Werror for FreeBSD drivers."
This reverts commit 946839b8500ef32960716ab9c86fcb48c9b29807.

Keeping these allow to keep track of why Werror is not enabled for the
entire network drivers subdirectory.
2024-08-27 13:01:59 +02:00
Augustin Cavalier
6f88de113d kernel: Rename set/clear_ac to arch_cpu_enable/disable_user_access.
These are architecture-specific routines, so they deserve proper
architecture-specific naming. The user memory access routines are
already under arch_cpu (arch_cpu_user_memcpy, etc.), and the methods
usually change a CPU flag, so it makes sense to put these there too.

RISC-V had get_ac but nothing else defined or used it, so it's removed.

No functional change intended.

Change-Id: Id4715214e32f73d4a93bc7ba8249411a0878d174
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8106
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: X512 X512 <danger_mail@list.ru>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58021
2024-08-26 19:39:28 +00:00
Augustin Cavalier
dadc497fbc kernel/vm: Insertion into the Areas AVL tree can fail.
So we need to check that it didn't when creating areas.

Change-Id: I4342463113046b543722faa7a51ca269ed67e8bf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8137
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58020
2024-08-26 18:25:11 +00:00
Augustin Cavalier
be52613c12 QueryParser: Unsupported value type conversion should not KDL.
Enhance the warning message and return a more relevant error code.

Fixes #19017.

Change-Id: I13d01ce206a27e5c9a35debc8081219422bfb10a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8136
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-08-26 18:25:11 +00:00
John Scipione
fe514848c2 Tracker: Change kMoveSelectionTo to kCopySelectionTo on paste
This restores cut items state to full opacity on paste.

Reverts the part of hrev53329 for cut items. We only copy duplicates
on copy operations, not cut, but we have to make all cut operations
copy after paste is over to restore the state. The clipboard mode is
altered but not the contents.

Fixes #15267

Change-Id: I8a036a548719fe49c512bd38ff1a072890ab2325
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8100
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58019
2024-08-26 18:21:32 +00:00
John Scipione
b93d08f989 Tracker: Make updateMessage a stack variable and style fixes
... related to fixing paste bug.

Change-Id: Iea500729d270f2a222244d38b9bf7a2917186f16
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8099
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-08-26 18:21:32 +00:00
John Scipione
d26613e1bb Keymap: Restore menu field status icons
Fixes the missing piece of hrev57496
"Keymap: Put status icons inside menu fields"

Change-Id: I824f8c105036ae7ea6535f33e0ec0fa8f812f39d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8112
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58018
2024-08-26 17:14:45 +00:00
Owen Anderson
2147db3699 arm64: Fix translation map setup.
* Correctly read out base address from TTBR1_EL1
* Don't inadvertently clear fHwFeature bits
* Log translation map setup

Change-Id: I4d57509b15525396e886ba7cfc3561ed1b18845f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8102
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev58017
2024-08-26 17:13:54 +00:00
Jim906
a2a5b10065 FAT: fix volume label errors
* Initialize pm_firstcluster in dosfs_identify_partition for use by
  read_label, for FAT32 volumes.  This is necessary for reading the
  volume name from the root directory.
* Create label_to_fat() and call it at both points where volume
  labels can be assigned, for uniform behavior in setting
  labels.  Force all-caps when setting labels, for widest
  compatability of the volume with other systems.
* Remove the redundant LABEL_ILLEGAL string listing illegal label
  characters, and consistently rely on sAcceptable (a list of legal
  characters) when setting labels.
* For clarity, rename sanitize_label() to label_from_fat and remove code
  that causes labels to be displayed to the user in all lowercase.
* See #11119.

Change-Id: I7b5e6b998f13d9eb7ba56ed50c0d53b8c051fad0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8115
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev58016
2024-08-26 17:12:57 +00:00
Niklas Poslovski
0cbb701eb5 Sudoku: Use B_*_COLOR constants instead of hardcoded colors
Change-Id: Iec1f6884efa7d096a21e5986204b4c7ed64e049b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7944
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev58015
2024-08-25 19:24:26 +00:00
Humdinger
1fa52ceadd New templates: add menu item to create a submenu folder
* Add a menu item at the bottom of Tracker's "New" menu and all
  submenus to "Add new submenu...".

* The menu creates a folder "New submenu" under
  "~/config/settings/Tracker/Tracker New Templates" and adds the
  attribute _trk/_template_submenu = true to it. That results
  in showing it as a submenu in Tracker's "New" menu.

* Finally "~/config/settings/Tracker/Tracker New Templates" is
  opened and selected, so the user can edit the folder name that'll
  appear as submenu label in the "New" menu.

Change-Id: I1783f8a88c8e56fbe33012c7312cc97e9401f7f5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7931
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: humdinger humdinger <humdinger@mailbox.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58014
2024-08-25 19:23:46 +00:00
Augustin Cavalier
4944d70dd1 sys/uio.h: Use __inline instead of inline for C89 compatibility.
Fixes https://github.com/haikuports/haikuports/issues/10822.
hrev58013
2024-08-24 14:55:07 -04:00
Owen Anderson
81af091961 arm64: Fix physical page memcpy operations.
Change-Id: Ie1a0fafad2b71f964292c14b1934d9406b3c015c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8101
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58012
2024-08-24 18:24:47 +00:00
John Scipione
9d4d102df2 Tracker: Override Open with... pose view text color and back color
Make TextColor() and BackColor() virtual in BPoseView so that we can
override them in subclasses. These are used to invert colors on select.

Move InvertColor() and InvertedBackColor() to Utilities.

Move Desktop...() methods to DesktopPoseView overrides, this does the
same thing but in DesktopPoseView as an override.

Add override methods to Open with... pose view. Open with... window
text color were not updating with color settings making text unreadable
in dark mode. Open with... background and text colors update based on
tooltip colors which was chosen previously.

Change-Id: Id605f1887d6018766b09a6de372b6071de8b83ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8105
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev58011
2024-08-24 18:19:16 +00:00
Augustin Cavalier
946839b850 ArchitectureRules: Remove lines for -Werror for FreeBSD drivers.
This is imported code from FreeBSD; using -Werror here doesn't make much
sense. Most of the lines were commented out anyway.

Lines for native drivers left alone, of course.
hrev58010
2024-08-24 13:57:04 -04:00