Commit Graph

65572 Commits

Author SHA1 Message Date
François Revol
a143f249c2 Readme.Compiling.md: Mention the need for zstd and python3
Change-Id: I9d787e3e79a6da419e6d08496463df493026e720
2023-11-18 14:58:01 +01:00
François Revol
768aa9d339 safemode: Add usage help option
Change-Id: I25c96070327f43ea12df7df9bf0d8e9b994a80af
2023-11-18 14:24:20 +01:00
Autocomitter
9a3791f0f0 Update translations from Pootle 2023-11-18 08:16:31 +00:00
Swangeon
cbb44d0ab6 Add TUN/TAP interface and driver to build definitions
Change-Id: I19f37ef75250526d7a7f9e254fd0bf3693582c92
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6898
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-11-17 16:58:45 +00:00
Swangeon
47f43bccee network/tun: rewritting tun driver and tun module for modern code base
Change-Id: Idf7ab6d2aa2b4f8cb4893053b531d2eae7418427
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6608
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-11-17 16:58:45 +00:00
Andrew Lindesay
35c4600e21 Shared: JSON Parse Perf
Improve the mechanics for JSON parsing by reusing
text buffers during the parse.

Change-Id: I7fb2cae31e6558a5a0c63fd02e1fc6fec4f9e4b3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7106
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2023-11-16 20:38:21 +00:00
PulkoMandy
8a00ea4af6 ps2_dev: shorter timeout for mouse reset
The keyboard is initialized after the mouse. When there is no mouse,
this timeout delays keyboard initialization noticeably (especially if
there is a mouse port multiplexer with several ports).

Change-Id: Icd4a7c28f6afca062d829df88bd15e88225d4bc0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7112
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-16 17:11:46 +00:00
Augustin Cavalier
3bae07fc29 protocols/unix: Implement MSG_NOSIGNAL.
Same logic as in the TCP protocol module.

This fixes a regression from hrev57383: curl now works
again. (Perhaps it shouldn't be called a "regression",
though, but instead an uncovered bug / missing feature.)

Fixes #18666.
2023-11-16 12:08:47 -05:00
Augustin Cavalier
74a44f5aed protocols/unix: Return EOPNOTSUPP when unhandled flags are specified.
Fixes the "bug" part of #18653 (however the flags still need to
actually be implemented.)

Change-Id: Icd296af8b409416317ba3d02735504729949fd08
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7109
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
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>
2023-11-15 16:33:38 +00:00
Jérôme Duval
1b8870852e ffmpeg: fix leak when decoding audio frames
removing the memset in _DecodeSomeAudioFramesIntoEmptyDecodedDataBuffer fixes #18654
also free correctly resources in AVCodecDecoder destructor.

Change-Id: I2d6de6b50ba6767f669eb765dad96d28d43100fb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7108
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-14 23:13:51 +00:00
Jérôme Duval
c7360f4b02 kernel/x86_64: on context switch, load defaults in fpu control and mxcsr
after a0131eaae2 mxcsr was possibly also incorrect.
fpu control and mxcsr will be restored with fxrstor/xrstor.
no need to clear pending exceptions on #MF
fix #18656 (and #18624 after reverting).

Change-Id: I7dd5e2e4610747c5b82abd6c67e302d264b4be92
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7104
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-14 21:31:01 +00:00
Humdinger
345265c3d6 ShowImage: fix saving
As investigated and suggested by jackburton in ticket #14693:
outTranslator wasn't initialized correctly (due to type mismatch
on 64 bit platform).

Also set the image's file name as default in the save dialog.

Fixes #14693

Change-Id: I741e3616b935315a707ea3949a330d41d577fd91
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7102
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-13 22:10:25 +00:00
David Karoly
3c16ba4e78 Debugger: introduce target endianness handling
Change-Id: I597a667de1461383ce9e96e8ea9902895cf80ec6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7073
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-11-13 08:19:54 +00:00
X512
f866c78257 poke: fix setting area name in POKE_MAP_MEMORY ioctl
Fix regression caused hrev52304

Change-Id: Ibadaed3a098d33787c18f243c55c546ff8c2d03b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7099
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-13 08:19:39 +00:00
Autocomitter
0eb78d0928 Update translations from Pootle 2023-11-11 08:16:35 +00:00
Alexander von Gluck IV
a8555ee739 loader/elf: Add missing PT_RISCV_ATTRIBUTES Page Table type
* llvm project called out when adding this to llvm:
  "There is no real-world use case yet"
* https://sourceware.org/pipermail/binutils/2021-June/117182.html

Change-Id: I882b31db7a054d42f1045dd438cc9678ea4de50c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7098
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-10 15:47:53 +00:00
Alexander von Gluck IV
7ef31730b2 boot/efi/riscv64: Reduce page table tracing by default
* Prevents a standard "10 minute bootup" while every page table
  entry dumps to syslog.

Change-Id: I73ed352641c34aaa2a8db54e22948daa02372018
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7097
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-10 15:47:53 +00:00
Humdinger
964b6e8090 People: Accept initial values
Besides the entry_ref to an existing Person file as argv, also
accept a BMessage containing values for attributes and set those
in the new window.

The specifier name in the BMessage needs to be the same as the
attribute name used by the People app, e.g. "META:email".

Needed to let the Mail app create a new Person file with the email
address already filled in.

Fixes #14766

Change-Id: I637200b08d5c1b7cf52d7cf3f56dab93ce1a6ec5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7085
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-09 12:13:01 +00:00
Humdinger
a7ee73c8eb Mail: Fix "Save address" as new Person file
If a Person file with the selected email address doesn't exist yet,
launch the People app with a BMessage "M_LAUNCH_PEOPLE" that triggers
the People app to create a new Person file.
The message includes "META:email" and "META:name" for email address
and contact name. The contact name may be empty, if it wasn't included
in the mail's from/to/cc etc. field.

Don't show error alert, if People was already running.

Fixes #14766

Change-Id: Id4f7ae50aa1ea283974f2fa067ac9e199f369db5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7084
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-11-09 12:13:01 +00:00
Andrew Lindesay
4cd60e77fe HaikuDepot: Buffered Reads for JSON Parse
Reduce the number of small reads into a file
for JSON parse by buffering the data.

Change-Id: Iae8030a72daec358968cd2edf5f95510194a2f68
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7096
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-11-08 18:11:10 +00:00
Jérôme Duval
2d005cca08 ext2: implement set_flags
needed for fcntl(F_SETFL)

Change-Id: I2e71bcf70d794f690985e8c26ae1b0be51a0e590
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7094
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-08 13:39:21 +00:00
Andrew Lindesay
c110a5ebf9 HaikuDepot: Loading Pkg File Size
This change will move the loading of packages' file size
to a latter phase as HaikuDepot starts up as a separate
step. This way it can only load sizing for those packages
which do not have a size from HaikuDepot Server -- which
should be very few. This gives a circa 10-15% performance
improvement on the phase where the local HPKR catalogue
of packages is populated.

Change-Id: I52055ecaa79f9819e70b469134e5b94636f02b13
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7095
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2023-11-06 13:37:28 +00:00
Humdinger
15305513ae Add "Reset rating" menu item to MediaPlayer and ShowImage
Doesn't remove the rating BFS attribute from the file, just sets it to "0".

ShowImage: Move "Ratings" menu into a new "Attributes" menu, similar to
MediaPlayer.

Change-Id: I831166d88be9d18f1d302a423aa43929b7a1b255
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7092
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-11-06 13:36:20 +00:00
Autocomitter
dbdb78c31f Update translations from Pootle 2023-11-04 08:17:57 +00:00
Humdinger
631e35ca58 Tracker: Use half-star symbol for odd rating value
The rating now uses unicode symbol U+2BEA - "Star with Left Half Black": ⯪
for the odd rating values (ranging from 1 to 10 for up to 5 stars).

The other used symbols are still:
* U+2605 - "Black Star": ★
* U+2606 - "White Star": ☆

Fixes #12986

Change-Id: I1ea27db67131b071e827a05847595f88b6d9dcda
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7091
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Rene Gollent <rene@gollent.com>
2023-11-03 21:28:57 +00:00
Jérôme Duval
dd8a03b78d bootloader/x86: fix rdtsc for x86_64
should fix regression after hrev57346, see #18647
explained in details at https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html

Change-Id: Ic471c594b87da0bcee346db4a2f78ee1e1d59fe9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7093
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-03 18:30:06 +00:00
Kacper Kasper
6f58244192 Support repositories created with git worktree
* .git is a file in worktree-created copies.
* Determines the correct directory using git command, when
  running configure.
* Fixes #16808.

Change-Id: I72c7b2e79aac5140d35e0339fad16160a35911ae
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6914
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-11-01 09:09:27 +00:00
Humdinger
4391f32b36 ShowImage: Re-arrange menu items
* Moved "Use as background..." from "Image" to "File" menu.
  "Image" holds items that affect the display of actual image
  (rotate/flip). "Use as background..." doesn't.
* Move "Close" down above "Quit".

Change-Id: I23ddcc2cf03937322649ab289ef405f84c878dfb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7090
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-11-01 09:06:42 +00:00
Humdinger
32ed03a521 ShowImage: Add "Open with..." menu
Populate a new sub-menu with all applications that support the current
image's MIME type. Launch the chosen app with the image entry_ref as
B_REFS_RECEIVED message.

The sub-menu listing supporting apps is separated into apps supporting
the supertype ("image/" and full support (e.g. "image/png").

Add the new "Open with..." menu to the "File" menu and the context menu
of the image.

Most of the code was grabbed from the FileType prefs PreferredAppMenu,
therefore its copyright was copied and extended.

Change-Id: I0190cf4b78c59e429f4e67654665598340653c5d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7072
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-01 03:20:30 +00:00
Axel Dörfler
e39fc9c4bd DiskProbe: Make FindWindow use BLayoutBuilder
* No other functional change intended.

Change-Id: I2f95e66ce79ed0a26bb848973466227e80620171
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7086
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-11-01 03:01:23 +00:00
Jérôme Duval
53e2dc0f85 kernel/x86_64: clear any pending exceptions on #MF
* also on x86 for simplicity.
* fixes #18624
* also makes x87 FPU data registers available for x87 floating instructions. EMMS is cheap.
see 25209d81f7

Change-Id: I5c1b399377102f3eb10bc6d7f7247afbaf6d8483
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7089
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-10-31 18:15:42 +00:00
Alexander von Gluck IV
106388ddbf 3rdparty/cloud: Minor cleanup to gcp sysprep script
Change-Id: I64081e18ebb64b58223b5f693339d82820bb6ccb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7087
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2023-10-31 15:47:27 +00:00
Augustin Cavalier
eb4d2229f0 Debugger: Select "local" interface if none specified in MSG_DEBUG_THIS_TEAM.
The debug_server sends MSG_DEBUG_THIS_TEAM but of course it doesn't
have a way to specify the internal interface pointer. We should thus
assume the local one is implied.

Fixes #18645, which is not a regression but has been the case since
the initial host-interface refactors years ago, apparently.

Change-Id: I48078232f154f2f8f7cdf28792d39ae58471ce19
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7074
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-10-30 23:57:14 +00:00
Jérôme Duval
208006054c kernel/vm: put pages in order on the clear page queue
possibly help with #15789:
I was testing virtual_block devices with dd, and noticed it didn't work with higher block sizes.
Indeed the driver was passing a list of single pages, very inefficient. To be remarked is that
the physical pages were reversed in memory, causing get_memory_map to provide a map of single pages.
What happens: dd fills up the buffer from 0 until the block size, causing soft faults for still unmapped
pages. Each fault maps a cleared physical page out of the clear page queue. This means that some page runs
are actually put reversed in the clear page queue, which this commit fixes.

Change-Id: I36395849c7f13086b44a1b284cc0c858d8c29f75
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7081
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2023-10-30 19:04:51 +00:00
Jérôme Duval
1a497824d8 ext2: recalculate extent metadata checksum each time the metadata changes.
this fixes an assert when reading extents written in Haiku.

Change-Id: Iba2cc3b35ed6886db0749a0f50b24053def5aac3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7079
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-30 09:16:07 +00:00
Jérôme Duval
6dd8733058 ext2: ext2_rename(): if the target exists, it should be unlinked.
* the target inode would still exist, unreferenced.
* also remove from entry_cache.
* this fixes fsck complaining about unreferenced inodes.

Change-Id: I4d48d6bf89bdd37d366da0ae4795e42bcc0532d9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7078
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-30 09:16:07 +00:00
Jérôme Duval
7b97f05bb9 ext2: DirectoryIterator: the dotdot entry size is the entry block minus what comes before.
* the problem appears after the directory has been splitted.
* this fixes fsck complaining about an invalid directory entry.

Change-Id: I1566a279fc6438cb735439be002c634882e5a83b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7077
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-30 09:16:07 +00:00
Jérôme Duval
3319ef3f8e ext2: BitmapBlock::FindPreviousMarked(): index shouldn't go negative
fix #14404

Change-Id: I831c7d5cabbb804ab74d582caafb1d6cd281ca34
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7076
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-10-30 09:16:07 +00:00
Niels Sascha Reedijk
f8d7e36f00 UI text: minor fixes to strings (courtesy of jt15s)
Change-Id: Iebeb64eeea2fd98cf0f7a86be759939d86b600b3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7083
Reviewed-by: humdinger humdinger <humdinger@mailbox.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2023-10-30 06:31:27 +00:00
Niels Sascha Reedijk
e1c4049fed cross-compiler image: update to newer bookworm-slim Debian base image
Change-Id: I1770093c91ed00e4bbae58f44ad7f86874ec0512
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7082
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-30 06:31:27 +00:00
Andrew Lindesay
3538133f9f HaikuDepot: Log Process Report
To make it easier to understand what process
elements are taking a long time to run, a
small simple report is output as debug log
at completion of a process.

Change-Id: I09b93c494961e7abbbd22a3c58c64631f08025af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7075
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2023-10-29 23:29:42 +00:00
Augustin Cavalier
e8d328979c ICUTimeConversion: Fix buffer overflows and add more error handling.
* Declare databridge buffer lengths in LocaleBackend.
 * Use strcpy instead of strlcpy when writing to databridge buffers
   (this is the first fix for #18598.)
 * Check for overflows and error out when they happen.
 * Verify that ICU actually knows the timezone in question
   and fall back to GMT if it does not (this would also fix that crash.)

Fixes #18598.
2023-10-28 16:36:12 -04:00
Augustin Cavalier
c199c568de DebugAnalyzer: Fix -Werror=mismatched-new-delete. 2023-10-28 14:20:31 -04:00
Autocomitter
23486c0db3 Update translations from Pootle 2023-10-28 08:20:11 +00:00
Andrew Lindesay
e526b61813 HaikuDepot: Avoid Corrupt Username (2)
Previous changes removed the ability to supply
control characters at the start and end of a
nickname; this change removes them from anywhere
in the nickname when supplied.

Change-Id: I0631fffa8aaf2c0e267c777892044c53faa4334e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7071
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2023-10-27 11:15:07 +00:00
Andrew Lindesay
b02777c1a8 HaikuDepot: Avoid Corrupt Username
If the user happened to enter control characters into
their username when authenticating then the username
may cause problems later when communicating back to
the server. This is a hard problem to diagnose and
this commit will remove the problem.

Change-Id: Iad3c24f16cc6799ad8ddad634b8621a0aaadb921
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7067
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-10-26 16:44:38 +00:00
PulkoMandy
0822ec27a9 libicon: Fix dangling references to VertexSource in PathTransformer
PathTransformer keeps a reference to the VertexSource used (which can be
either another PathTransformer, or the base path for a shape). When a
shape is cloned, this should be retargetted to the new object in the
clone.

However, references are not settable, and so, what would happen instead
is the original (non-cloned) vertex source was reinitialized (through
the default implementation of the assignment operator) using data from
the clone, and the clone would still point to it. Then, if the original
object is deleted, the clone would point to freed memory.

To avoid this problem, replace the reference with a pointer (which can
be set to point elsewhere, as the code intended to do). To make sure
this does not happen again, make the VertexSource copy constructor and
assignment operator private, and deleted when the compiler supports
that.

Fixes #18577

Change-Id: I8870d9471c5064e922a84eff8447cbda783b13e6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7052
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Zardshard <0azrune6@zard.anonaddy.com>
2023-10-26 12:34:24 +00:00
PulkoMandy
51355272b3 ArchitecturesRules: error on use of deprecated functions
The previous commits have cleaned all the remaining ones.

Change-Id: I6b12ba4f23779f3e2e4fd5a00c6acfaaeb50f4d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6804
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2023-10-26 10:50:02 +00:00
PulkoMandy
9858be4f63 ffmpeg: remove usage of deprecated method avcodec_decode_audio4
Use avcodec_send_packet and avcodec_receive_frame as recommended in
ffmpeg documentation.

Change-Id: Ib9dc343a9f5cfbc50192158934e5e80c09a37fab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6803
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-10-26 10:50:02 +00:00
Humdinger
6de9c42da6 BootManager: improved layouting
Addresses #15418 without completely solving it.
At least for font sizes >= 11 points it works mostly. Buttons are
no longer cut off, though the summary page showing all partitions
is taller than necessary for > 3 partitions, esp. for smaller font
sizes.

Views aren't vertically centered at least.

Change-Id: Id6224b83f27510c9ed45e303f0b5dabf47af0574
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7062
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-10-26 07:56:47 +00:00