Commit Graph

64622 Commits

Author SHA1 Message Date
Augustin Cavalier
e0bf577acd libroot: Fix initialization of LocaleNumericDataBridge.
We need to store the isGlobal value, so that the destructor
can take care of unsetting the glibc locale properly.

It seems this has been broken since d338200e2b.

Fixes #18344 and probably #18336.

Change-Id: Idb9b33cd1416969e01b73012de059ff051b76e74
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6373
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-04-27 06:59:21 +00:00
Jérôme Duval
ad5f3ccd7c tcp: avoid overflow of the advertised window with window scaling enabled
tcp_segment_header.advertised_window is 16 bits.

Previously, instead of using the maximum window, zero would be sent, thus
the partner wouldn't send anything.

fix #18337

Change-Id: Ibff98ee58b84bdf52527a7821648a5faf20c5589
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6359
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
(cherry picked from commit 7c58a5a3fb)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6339
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-04-16 18:54:22 +00:00
John Scipione
8a68624821 Deskbar: Limit app bar width by BarMenuBar width
... in horizontal mode instead of (mis)calculating it.

Fixes #18299

Change-Id: I33bddd5f985677f7730f0025291fdfae90f4cb76
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6214
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 7ee7b33be6)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6337
Reviewed-by: John Scipione <jscipione@gmail.com>
2023-04-10 17:32:45 +00:00
Augustin Cavalier
a992c1aa42 threads.h: Fix value of ONCE_FLAG_INIT.
Fixes #18348.

Change-Id: I41cbfc4dce6ee88d7e6163ee7416d1c533004788
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6322
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-10 17:06:34 +00:00
Emmanuel Gil Peyrot
7de2572f79 mime_db: Broaden AVIF filetype guess
The current version expects the first box to be exactly 32 bytes, but some
files found in the wild only have 28 bytes, so we now ignore the first four
bytes and it works.

Change-Id: I4c304bd6385bffd15f4adbb99cbf464f9767f7bf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6302
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: nephele <nep@packageloss.eu>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6320
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-09 21:17:43 +00:00
PulkoMandy
af6a81f370 BitmapStream: fix grayscale AVIF decoding
BitmapStream creates a BBitmap without specifying a bytes per row, but
then check the bytes per row matches the header. It is better to ask
BBitmap for the desired bytes per row to avoid any difference in
padding.

Change-Id: Ie1facfd423ad888a14757a0fffc9e8cdf72ef832
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6301
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6319
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-09 21:17:43 +00:00
Augustin Cavalier
4b464b3ccc getlogin_r: Make actually reentrant and fix error return value.
Fixes #18349.

Change-Id: I6029344a02cc14dedcf2e93ee0b7dab23ebc7275
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6318
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-09 21:17:43 +00:00
Augustin Cavalier
bd25cdf88f uchar.h: Add missing include of stdint.h.
Fixes #17040.

Change-Id: Ic9b47fa237a7f34e72c26f19efcfb7aea30c7161
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6316
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-09 21:16:23 +00:00
Jérôme Duval
943dda487c libroot/glibc: apply upstream fix for printf_fphex: Fix up long double fphex.
a53b7a4e4b
fix #18353
Change-Id: I7d8cb2be2b1e1751a183dcc712abc2de55285d30
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6315
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-04-09 21:16:23 +00:00
PulkoMandy
6c9df5cb58 BControl: fix big-endian bitmap handling for control icons
The code is endian-dependant because the alpha channel is not at the
same place. This resulted in transparent white in icons being converted
to partially transparent yellow when attempting to darken the icons, for
example.

Change-Id: I57916139ba37b8d7ae0f9e9ba9e74c1d496d7b05
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6077
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 3cc1da2b77)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6096
2023-02-20 07:55:44 +00:00
Dale Cieslak
233d22fe6b BFont: Stub API for file and memory font loading
* Added APIs for file and memory font loading that return B_NOT_SUPPORTED
when called, as requested in #16101 for forwards-compatibility with
r1beta5.
* changed uint32 size and offset arguments to size_t

Change-Id: I3dc39c233c00c05a34439e7d02cf2a4e41b97e63
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6004
Reviewed-by: nephele <nep@packageloss.eu>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-02-06 17:54:42 +00:00
Alexander von Gluck IV
6c4363388a rootfs: Introduce permissions to virtual rootfs filesystem
Change-Id: I12b1e611cb88421005f34e279b02d20199b3fa52
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5964
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>
(cherry picked from commit 1f846c9cc5)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5928
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-01-26 00:12:33 +00:00
PulkoMandy
0aa990ad40 ffmpeg: fix incorrect error check
The function returns a positive nonzero value when it works.

Change-Id: Ib5852ec1d71e44b67309f3b955b888708f2ba1cf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6020
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-01-26 00:05:43 +00:00
PulkoMandy
49cb8b31ca ffmpeg: fix missing initialization of AVFrame
ffmpeg API reference does not allow to allocate AVFrame on the stack,
and especially not without initializing anything in the frame. Calling
av_frame_unref then attempts to free some non-existing data, and
crashes.

The code for video was already using a correctly allocated frame, which
we can reuse here.

Fixes #17415

Probably fixes #16831

Change-Id: I91054dc41f0a91be9c585ec927e77bfc874a37ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6019
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-01-26 00:05:43 +00:00
Alexander von Gluck IV
16abf33674 system/kernel: Fix virtual / permissions
* Solves some insecure permission errors with
  sshd subprocesses.
* More secure I guess not letting "anyone" write to /

Change-Id: I1bb31ff0142585639369f7b3d15cf9a2d5755598
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5962
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
(cherry picked from commit 151482229c)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5927
2022-12-27 16:32:32 +00:00
PulkoMandy
771538f0ba mime_db: add a sniffing rule for css
Just like the one for HTML, we have to do a bit of guessing since there
is no easy structure. We can extend it with more keyowrds or remove some
if we find some problems with other files.

Tested so far with the Be Book and Haiku user guide CSS files.

Fixes #18144.

Change-Id: If04fba18846d17ba0eb28dd0bd12787f1fe32028
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5948
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Máximo Castañeda <antiswen@yahoo.es>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: nephele <nep@packageloss.eu>
(cherry picked from commit 4562b1727c)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5926
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-23 01:55:25 +00:00
PulkoMandy
34b77b942e ffmpeg: leak when re-allocating ffmpeg context
The _Setup method can be called several times if the parameters are
changed (for example when calling SetQuality). But it always allocated a
new context without freeinthe previous one, resulting in a leak.

Part of #9458, it fixes the largest leak there (10K bytes for each loop
of the provided test) but there are other leaks left as well, some of
which apparently need an update to a newer ffmpeg version removing some
deprecated fields.

Change-Id: Iad119dbda9cff1ce023b602a1978b100a1263f7d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5953
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit beff8fa729)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5925
2022-12-22 15:56:47 +00:00
Autocomitter
400b0f808c Update translations from Pootle 2022-12-17 08:26:02 +00:00
Autocomitter
f421200d00 Update translations from Pootle 2022-12-17 08:26:02 +00:00
Autocomitter
da6b2414cb Update translations from Pootle 2022-12-17 08:26:02 +00:00
Augustin Cavalier
427288d61d HaikuPorts: Synchronize.
(cherry picked from commit 3d6c6ac7f5)

Change-Id: Ib14fc753ab1f45df0968397ddadd5660e725fe35
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5924
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-16 21:29:47 +00:00
Augustin Cavalier
513b1cb88b HaikuPorts/x86_gcc2: Synchronize.
(cherry picked from commit 9bcf5c9ce3)

Change-Id: I7b119844e49f44dcb3cb0f49a8c43e15b8f7f21b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5923
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-15 05:33:32 +00:00
Augustin Cavalier
94650b9d7a HaikuPorts/x86_64: Synchronize.
(cherry picked from commit 5f50bcdfe2)

Change-Id: Ic9218620e86fe86722df7622698bbc4f010404c1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5922
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-15 05:04:33 +00:00
Jérôme Duval
7fada5d082 efi/x86_64: skip reserved memory blocks when finding out the memory top
fix #16712

Change-Id: Ib2ae08bc47008098a6b0c231a759d5e91f88fd33
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5912
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 7fb137c2b2)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5921
2022-12-15 04:14:05 +00:00
Oscar Lesta
f06e09cf13 ramfs: add B_FS_IS_REMOVABLE as a workaround for #18137
This work-arounds the issue of the VirtualMemory preflet showing
RAM FS volumes as valid storage options for the swap file.

Removing B_FS_IS_PERSISTENT didn't work as I originally expected,
causing problems when attempting to write/delete entries on RAMFS
mounts after that.

Kudos to waddlesplash for the B_FS_IS_REMOVABLE alternative.

Change-Id: Id5ba1fa192b63b944cf59413a7f580ebb608e50d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5911
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 1cae9edcc7)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5920
2022-12-14 18:37:15 +00:00
Jérôme Duval
6bf3b1cfea usb_raw: abort transfers cleanly on kill, fix use-after-free
* aborted transfers will release the notify semaphore when the cancel is notified.
* the allocated buffer would be freed on return, while the usb stack eventually copied
data in the buffer in our back, leading to KDL crashes, because the freed buffer would
be right reallocated for some kernel team structures.
* regression introduced by hrev55806, the transfers didn't need to be cancelled before.

Change-Id: Ifb6e941f71d05c37c36f878059c33883bb72a67c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5905
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
(cherry picked from commit 76ddb69a3a)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5919
2022-12-14 04:53:30 +00:00
Adrien Destugues
dbae8e42da hoard2: make block header size a multiple of 16 bytes
On 32bit x86 gcc11, allocations should be aligned to 16 bytes, but the
block header (which is stored before the allocations) contains two
pointers, which on a 32bit system results in 8 bytes. Add some padding
to make this header 16 bytes, guaranteeing that the data area is
actually aligned.

Fixes #18111.

Change-Id: Id23f8c0272d75090710f872b728852cd0fcb19ac
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5916
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-13 01:55:17 +00:00
Oscar Lesta
0841580ae7 env vars: move XDG Base Dirs variable exports to SetupEnvironment
This makes sure that apps get access to these variables regardless if
they are started from a shell or from GUI (double-click from Tracker,
desklink, etc).

Fixes #18130.

Change-Id: I82e2884e460fad7d6ec16e7b624c5cd2fcf807df
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5897
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
(cherry picked from commit 3af8011358)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5918
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-13 01:52:14 +00:00
X512
950b6b08e7 debug_server: improve stack trace
Change-Id: I94fc9e9e547f0191484cad8e7dc6e8b233b981db
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4299
Reviewed-by: David Karoly <karolyd577@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
(cherry picked from commit 36fa4b7e7d)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5917
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-13 01:47:58 +00:00
Humdinger
cba5ecbbb4 Thumbnail: fix off-by-one of Height/Width attribute
Fixes #18128

Change-Id: I3abe72552657517acece101a1653b2f013b4f23f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5881
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit d3811d0036)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5855
2022-12-08 20:39:58 +00:00
xoblite
6bfa69ea26 Updated the PCI and USB ID lists to the latest versions.
From their respective GitHub repositories:
https://raw.githubusercontent.com/usbids/usbids/master/usb.ids (version 2022.05.20)
https://raw.githubusercontent.com/pciutils/pciids/master/pci.ids (version 2022.12.04)
Change-Id: I9348da6c4dca920e85ea607e8e6c4cf5c2cc41b3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5874
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 6dd06f66d0)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5854
2022-12-07 23:17:37 +00:00
Augustin Cavalier
59e09f7beb libroot: Fix open flags in shm_open.
We need O_CLOEXEC here, not FD_CLOEXEC (which is equal to 0x1, which
in openflags is O_WRONLY and thus leads to the conflicts caught by
the previous commit.)

Fixes haikuports/haikuports#7524.
2022-12-07 17:57:40 -05:00
Augustin Cavalier
9bc250e28d kernel/vfs: Validate that only one of O_RDWR or O_WRONLY is used, if any.
Otherwise we will have open modes that could have both and lead to
confusion in code that presumes only one will be set.

This catches the cause of some ported software (e.g. Wayland layer)
misbehaving with ramfs mounted in /var/shared_memory: the ramfs does not
properly handle both flags set, and due to another bug, they are for
shm_open'ed files.
2022-12-07 17:56:27 -05:00
X512
2c6cf678e6 kernel: enable ramfs build and automount to shared_memory directory
This will allow proper operation of POSIX SHM API (shm_open etc.).
Now memory files are stored fully in memory and do not affect disk
storage (except swap if enabled).

Change-Id: Iae3ce1afa968df72e82198e598a273cbf7cb0269
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5802
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>
(cherry picked from commit bf2786efae)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5851
2022-12-01 02:09:54 +00:00
Augustin Cavalier
1b2c521e91 ramfs: Fix SMAP violations in DataContainer.
Change-Id: Id5e1ad86f2b18b210326c83c873a2f11decab9c3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5850
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-01 02:08:55 +00:00
Augustin Cavalier
41b1ec3e58 ramfs: Switch from an embedded to a separately allocated small buffer.
This saves 16 bytes in the class vs. the old size, but more importantly
allows us to avoid allocating VMCaches and wasting an entire page for
any attribute larger than 32 bytes; instead, attributes can be up to
1024 bytes before we allocate a full page for them.

Unfortunately small files cannot take advantage of this optimization
right now as the cache is always used for them. I added a TODO about
this.
(cherry picked from commit 396e3dfb9c)

Change-Id: I6c939565dd577cb86aeb7b518a219da01cb313a1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5849
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-12-01 01:28:54 +00:00
Augustin Cavalier
fb7aa63d18 ramfs: Volume->WriteLock but do not unlock in unmount.
As, of course, we are deleting it. This problem was obscured by the
one fixed by the previous commit.
(cherry picked from commit 4e742d81ab)

Change-Id: I071b6356d85fb4e834125fa4a453b8ebf206510a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5848
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-30 05:26:46 +00:00
Augustin Cavalier
6c771e473a ramfs: Correct "reference" (link) counting of Node objects.
* RemoveReference() could delete us immediately, thus we must do
   all important work before invoking it.

 * Add assertions about fRefCount and remove a spurious add.

 * Do not use Link but PublishVNode on the root, as we manually manage
   when this object is published/deleted.

Fixes #18032.
(cherry picked from commit 605ecac1ee)

Change-Id: I696e652bc4094baacb5336b1180d8b90f3f0f864
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5847
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-30 05:26:28 +00:00
Augustin Cavalier
11956b660f ramfs: Correct usage of Nodes in Entry.
* We do not want to set fNode in the constructor but let the invocation
   of Link() take care of doing so instead.

 * Link/Unlink manipulate linked-lists. Thus it is dangerous to use them
   in tandem on the same Node object. Add a check for this.

 * Minor cleanup.
(cherry picked from commit 6a8bb0562e)

Change-Id: Iec3c8596d4b8fa24be94247a1f29b9cbdf9909fe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5846
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-30 05:25:56 +00:00
Augustin Cavalier
c120e44ab0 ramfs: Acquire write lock before unmounting.
Might help with #18032.
(cherry picked from commit 05fdda96b7)

Change-Id: I8be5c88d3749d19984de5458973c88a0f47afb71
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5845
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-30 04:06:42 +00:00
Augustin Cavalier
1306b294db ramfs: Prevent creating files or directories named "." and "..".
Fixes #18031.
(cherry picked from commit d48f4fd05f)

Change-Id: I0ba9f12874cea734818c8b6a7b97614bf9c2955e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5844
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-30 01:14:11 +00:00
Jérôme Duval
12d5284dcc random: always use the PRNG, and use entropy sources to feed it
remove the yarrow module. the hardware modules can push entropy with queue_randomness().
virtio_rng will now push entropy every 300 seconds.
helps with #14937

Change-Id: If76c5deabf61dc616a0e051332f44b89deb6b8a1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5824
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 34e9243872)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5843
2022-11-29 23:16:21 +00:00
Augustin Cavalier
a261ec2dc9 libroot: Adjust malloc_hoard2 to use max_align_t when available.
Spotted while investigating #18111, but likely does not fix it.
This matches the existing behavior of the runtime_loader heap.
(cherry picked from commit 5f40b96c35)

Change-Id: I85a60309585ffeec8ab558b899a7782e8da5a413
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5841
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-29 21:16:23 +00:00
Augustin Cavalier
2f119b8217 Tracker: Do not try to change to an invalid or unset icon size.
This can happen if we are already at the largest or smallest size.

Fixes #18066.
2022-11-28 17:27:18 -05:00
Máximo Castañeda
a33e6fc51d WebPositive: save the cookie jar in the user settings directory also for the curl backend
The files and formats are different for libnetservices and curl
backends, but now they are under the same directory whatever the
installed haikuwebkit version uses.

Change-Id: Iab87d5fd27ebea1fa0a8967a9802dfa2fb11240a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5835
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 753349fb2e)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5839
2022-11-28 19:49:30 +00:00
Jérôme Duval
52de73712a libroot/glibc: apply upstream fix for _itoa: "Make sure at least a zero is emitted."
6cae39579b
fix #18098
Change-Id: I1b29f8cf723bf0731ed0be3a2ab3d2b152af449c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5833
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
(cherry picked from commit 17ec9b7f4e)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5836
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-27 19:54:23 +00:00
Jérôme Duval
b782f25f6e tty: let processes open a slave tty again, ignoring O_NOCTTY.
they just won't control the tty.
fixes https://github.com/haikuports/haikuports/issues/7457

Change-Id: I8968b620a39c3050f6498faaa95c25aaed86e5c1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5832
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 685e124c99)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5838
2022-11-27 19:54:04 +00:00
Jérôme Duval
3cf6e0dc24 silicon_image_3112: use kernel read/write protection for map_physical_memory
Change-Id: I04655afb3f552e5919923ab96f96f32d0f8db6b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5834
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
(cherry picked from commit bce7dc883a)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5837
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-27 19:53:17 +00:00
Augustin Cavalier
eacbc91433 New installer logo, courtesy of Humdinger. 2022-11-22 12:19:07 -05:00
Autocomitter
da709ed6f9 Update translations from Pootle 2022-11-20 20:43:56 +00:00