66166 Commits

Author SHA1 Message Date
Augustin Cavalier
6c4e414fe6 strace: Move TypeHandler for iovec back to NetworkTypes.
Takes advantage of some of its macros.
2024-07-16 18:43:50 -04:00
Augustin Cavalier
72b440df7d kernel/events: Fix wait_for_objects.
In the preceding commit, I missed that "events" was cleared
inside the select loop, making a use later on useless.

Now we don't clear it in the loop, but wait till the end
to do so. (Considering we return without clearing it in
case of out-of-memory or other problems, this may not
even be necessary, but it at least preserves existing
behavior.)
hrev57837
2024-07-16 17:59:03 -04:00
Augustin Cavalier
9a4c543934 pthread: Implement pthread_timedjoin_np.
This also corrects an oversight in pthread_join() that not all
potential error codes of wait_for_thread were accounted for
(in particular EDEADLK wasn't.)

This is a non-standard extension, but is present on both Linux
and FreeBSD, at least.

Change-Id: Ie96e7a261e863ab491bee30349360df7ff3d0e80
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5099
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev57836
2024-07-16 19:59:39 +00:00
Augustin Cavalier
69b420563b kernel/thread: Remove duplicate declaration of _user_rename_thread.
No functional change.
hrev57835
2024-07-16 15:33:19 -04:00
Augustin Cavalier
7f86e9ee17 kernel: Properly report that no events were selected in select_fd.
Adjust wait_for_objects/select/poll implementations to handle this
properly (use the original array's selected-events values, not
the select info's values, and ignore errors if events were reported.)

event_queue is not adjusted and will behave differently after this
change (specifically it will not allow such FDs to be added,
which matches behavior of epoll/kqueue elsewhere.)

Change-Id: Icea26efce894f00697afd29f3bf51b7e60e522ab
2024-07-16 15:32:59 -04:00
Augustin Cavalier
9aaf80afaa FAT: Use user_strlcpy in dosfs_read_attr.
Fixes a SMAP violation.
hrev57834
2024-07-16 14:39:59 -04:00
Augustin Cavalier
85fb1089de libroot: Use getentropy to initialize the stack protector.
Now that it's in libroot, we don't need to invoke the syscall directly.
hrev57833
2024-07-16 14:16:09 -04:00
Jérôme Duval
4169a972ee POSIX: move getentropy(2) from libbsd
Specified in POSIX.1-2024
https://www.austingroupbugs.net/view.php?id=1134
Change-Id: Ie715a102aa6f7764bc639e0a1874a6c7f7d81019
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7846
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev57832
2024-07-16 16:09:00 +00:00
Augustin Cavalier
bc28372cec pthread: Apply extern "C" to getname/setname.
Necessary because we don't include gnu/pthread.h here.
hrev57831
2024-07-16 00:19:56 -04:00
Augustin Cavalier
fc1a0ea5ab SetupEnvironment: Remove first set of LC_CTYPE.
It's set again about 30 lines later, this time with the real value,
so there's no need to set it here.
hrev57830
2024-07-15 22:57:57 -04:00
Augustin Cavalier
a6fd327884 pthread: Account for more errors than B_BAD_THREAD_ID in pthread_getname_np. hrev57829 2024-07-15 21:31:22 -04:00
Augustin Cavalier
10563a5fb2 pthread: Reorder the extension functions and make them non-weak.
Put the extensions above the "Haiku thread API bridge",
fix their indentation, and make them standard instead of weak symbols.
(musl does not declare these functions as weak symbols, at least.)
2024-07-15 21:31:04 -04:00
Augustin Cavalier
ba0223da5d Haiku Book: Fix typo in launch_daemon documentation. hrev57828 2024-07-15 21:17:04 -04:00
Augustin Cavalier
6326cd5159 launch_daemon: Remove setting of LC_TYPE.
This appears to be a typo for LC_CTYPE, and as such nothing
ever used it. Environment settings are set up by SetupEnvironment
anyway, and if unset just default to C/POSIX locale, so this
isn't needed here.
2024-07-15 21:16:41 -04:00
Augustin Cavalier
1feff0c037 libroot: Initialize the stack protector guard value with generic_syscall.
Avoids open/read/close of a FD on every application startup.
May help with #18947 (especially as opening files on devfs is
somewhat more expensive than on a regular filesystem.)
hrev57827
2024-07-15 16:46:35 -04:00
Augustin Cavalier
c003525101 USB: Release the device manager lock before exploring.
Exploring can take a while, and if we hold the device manager
lock the whole time, we'll block a lot of other things on the
system (including open() calls to anything in devfs.)

So, instead of holding the lock continuously, we now lock it
only temporarily, and instead add protection against deadlocks
when called by other threads besides the explore thread.
hrev57826
2024-07-15 14:09:15 -04:00
Humdinger
12bfa3571c CharacterMap: tweak colors, improve dark theme
Tweaking the colors for the character view.

* Don't use hard coded colors, but B_LIST_* colors.
  B_LIST_* has the advantage over B_DOCUMENT_* that there's a
  *_SELECTED_COLOR, too, for the the currently selected char.

* Make the disabled characters - those not part of the currently set
  font, but taken from a fallback font - a bit darker. Those lacked
  contrast before IMO.

* Dark themes need some special consideration when using disable_color.
  They need to be lightened where bright themes get darkened.

* Added special treatment for the color of selected items. Needed
  for people (e.g. me) that run a bright theme (= dark text on light
  background), but have light text on dark background for selected items.

Fixes #18948
Change-Id: I44e5be6a38e1d531238889b96ca65db0cf49b83f

Change-Id: Ic02ced0540edf29808fcead5dec64758a963e7e3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7841
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev57825
2024-07-15 16:36:04 +00:00
Jim906
2802139f24 FAT: fix divide-by-zero in check_bootsector()
* Zero-test sectorsPerCluster.
* This value will be checked more thoroughly later by parse_bpb().
* Fixes #11119.

Change-Id: I2318fbf3ea7f3c6c49b317ddd7d895757cf5944d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7840
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
hrev57824
2024-07-15 12:37:43 +00:00
Niels Sascha Reedijk
4b74781a00 Catalogs: remove exr translations after purging from Pootle
Change-Id: I5ff888d69cdb460dcd16f38c0bc98440bc0d8e94
hrev57823
2024-07-15 06:46:48 +01:00
calisto-mathias
9e875c1998 Find Panel: Implement Menu Bar
This commit introduces enhancements to the Find Panel, focusing
on improving user experience and functionality. The primary
changes include:

1. Menu Bar Integration
 - Added a Menu Bar and migrated the more-options section into this
   Menu Bar for a more organized and intuitive interface.

2. Saving a Query
 - Save as Option: This allows users to save a query to any location
   on their storage drive. A save panel enables marking the saved
   query as a template or a query file.

 - Save Option: Treats Queries and templates as documents, enabling users
   to override changes to the file without opening the Save as Panel
   repeatedly. Context-sensitive activation of this option is also enabled.

3. Opening a Query:
 - Users can open a query via the Find Panel, which brings up a File Panel for
   Selection, streamlining query/query template management.

4. Templates Menu:
 - Provides a convenient way to select templates. Newly saved templates
   immediately updated in this menu.

5. Options Menu:
 - Clear Templates: Deletes all the templates from the filesystem and
   refreshes the template menu.

 - Clear History: Deletes either all query files or only temporary query
   files from the filesystem.

6. Improved User Flow For Saving Queries:
 - Queries are treated similarly to document files, containing properties
   specific to the search. Users can override and save details using the
   same file.

7. History Menu:
 - The History menu has also been moved into the menu bar. Here it is
   segregated into temporary and saved query files. This is helpful to
   slowly shift the chain of thought to only show the saved queries in the
   history menu.

Summing up, these changes aim to shift parts of the Find Panel into the
Menu Bar, fitting it along the newer design. It also adds in the required
features to treat queries and query template files as mutable documents
which can be easily saved or retrieved.

Change-Id: I9c13ddd77a7628a0440e59c57b6bb22dab6437c0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7817
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev57822
2024-07-14 16:58:20 +00:00
Jessica Hamilton
bed49f85a4 OS.h: add a note about B_ABSOLUTE_REAL_TIME_TIMEOUT.
* B_ABSOLUTE_REAL_TIME_TIMEOUT is used for kernel timers, and
  must be used for absolute timeout values, rather than the
  B_ABSOLUTE_TIMEOUT flag. Discovered whilst implementing
  `pthread_timedjoin_np`.

Change-Id: I37ae057073ff5efeecc00406b132abf51bebbdc2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5100
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hrev57821
2024-07-13 14:41:34 +00:00
Augustin Cavalier
48c3343960 EXRTranslator: Remove from the tree.
It's now at HaikuArchives and supplied in a package at HaikuPorts.
EXR images are rare and mostly used in pretty specific cases, so it
isn't re-added to the default install.

Catalogs are left in-tree until they are purged from Pootle.

Change-Id: I54e478a30e02bdefd1b8fa53c4b66d84ffb04185
hrev57820
2024-07-11 11:02:28 -04:00
Augustin Cavalier
4dcd60085b ICUTimeData: Use kDefault instead of kFull for the datetime format.
We already used it for the individual date and time formats, so it
only makes sense to use it for the combined datetime format.

This fixes failures to initialize datetime data for non-POSIX locales
after the ICU upgrade, as the "full" format is now longer and contains
characters such as U+202F (NARROW NO-BREAK SPACE) which result in the
UTF-8 encoding being too large to fit in the fixed-size buffer.
hrev57819
2024-07-11 10:48:27 -04:00
PulkoMandy
ee658d503b Tracker Kit: fix TitledSeparatorItem size
This menu item has extra decorations around the label, that need the
menu to be a bit wider than just what would be needed to fit the string.
Otherwise, the string can be truncated.

The problem is not visible in the current usage in Tracker (in open
panel favorite menu) because other items force the menu to be wide
enough. However, I tried to reuse this code in another app and hit this
problem.

Change-Id: If5d2475c22d9943e26b45c415fcd6e4df3d5fc4c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7834
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>
hrev57818
2024-07-09 19:08:55 +00:00
Augustin Cavalier
a6025379d1 FAT: Don't try to create file caches too early.
Otherwise we get log spam in builds from fat_shell about
failures to get vnodes, which looks bad.
hrev57817
2024-07-09 15:02:37 -04:00
Augustin Cavalier
d694b88a62 kernel/x86: Make acpi_read & acpi_write private (static).
They aren't used anywhere outside this file anymore, and they
shouldn't be used when X2APIC is enabled, anyway.
hrev57816
2024-07-09 14:59:30 -04:00
Augustin Cavalier
2d2528f6f6 fat_shell: Fix build.
We need the BSD headers for <sys/queue.h>
and other things, so we can't use "strict-ansi".
hrev57815
2024-07-09 14:44:36 -04:00
Augustin Cavalier
51af683457 fs_shell: Fix infinite recursion in get_vnode_name.
Spotted by GCC.
2024-07-09 14:44:04 -04:00
Augustin Cavalier
f6839b1ca7 fs_shell: Only define LONGLONG_MAX if not defined.
Fixes a bunch of warnings.
2024-07-09 14:43:45 -04:00
Augustin Cavalier
3cd4900795 kernel/x86: Do not read APIC registers while setting the interrupt command.
FreeBSD's equivalent routine (lapic_write_icr) does not read
these registers; in fact the only thing that does read them
are its initialzation routines, and then its code to check
the interrupt delivery status (same as we do.)

Additionally, APIC_INTR_COMMAND_1_MASK only contains the bits
that are set by the OS, not the ones set by the APIC, which
means that APIC_DELIVERY_STATUS (bit 12) isn't included
and we are thus writing it back here, which doesn't
seem correct.

Change-Id: I2c74b7b8de3cd8295c8dd86e5a7c6530dc5648ed
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7827
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>
hrev57814
2024-07-09 17:52:19 +00:00
Augustin Cavalier
3ea2ee1a40 kernel: Use "final" more in the VM and x86 paging classes.
Since we always compile the kernel with modern GCC, we might as well
take advantage of modern C++ features. In addition to providing
a sanity check, "final" is also an optimization, since it allows
the compiler to devirtualize calls made directly to a "final" class.

Change-Id: Iedb0ee8834637771f5b6113c17342dbf67e99042
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7826
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-07-09 17:52:19 +00:00
Augustin Cavalier
3af5908769 fat_shell: Fix filemode of Jamfile. hrev57813 2024-07-09 12:06:30 -04:00
Augustin Cavalier
88979be93f PCI: Log failed config reads.
We already log "can't read config" in this method, so let's
also log lower-level failures.

May help with investigating #18536.
hrev57812
2024-07-09 11:45:44 -04:00
Augustin Cavalier
1342073197 PCI: Avoid overflows in ReadResourceInfo.
The operation should be promoted to at least 32-bits anyway,
but it's better to be safe here.
2024-07-09 11:40:57 -04:00
Augustin Cavalier
599a303e23 PCI: Return more meaningful error codes from ReadConfig/WriteConfig. 2024-07-09 11:36:50 -04:00
Jim906
342a1b221b FAT: revise using code from FreeBSD
* Rewrite most hook functions, modeling many after FreeBSD hooks and
  making use of support functions ported from FreeBSD. As it stands
  now, most of the FreeBSD driver files are present with minimal
  changes, with a pseudo-BSD compatability layer added to make them
  work in Haiku. Performance is not what it could be if the BSD code
  was rewritten to interface directly with the Haiku kernel, but under
  the current approach the driver might be easier to maintain in terms
  of porting future FreeBSD bugfixes.
* Add support for FAT in userlandfs. Aside from being useful for
  debugging, the userlandfs module provides better filename support
  for characters that are not in code page 850, because it can link
  libiconv.
* Update the fat_test.sh script to use dosfstools to format the tested
  device, instead of the internal dosfs_initialize hook. The script
  is written to test specific cluster sizes, but the initialize hook
  still does not support user-specified cluster sizes.
* Coding guidelines: lightly-modified BSD files and lightly-modified
  original Haiku driver files have not been revised to adhere to the
  Haiku style guidelines. For BSD files, this is meant to make it
  easier to compare with the FreeBSD repository when merging future
  FreeBSD patches. For existing driver files, this is to highlight the
  functional changes made in this change request (I can submit a
  separate patch later to clean up style in these files). Also, some
  #include lines are not alphbetized (they are instead ordered like
  they would be in FreeBSD, because one header relies on another).

Change-Id: I92521d4b700d7aa52fe6c664cf8f83a4d9395809
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7660
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
hrev57811
2024-07-09 06:40:55 +00:00
Máximo Castañeda
a5df3d5221 MediaPlayer: fix subtitles
- Setting word wrapping and resizing the BTextView to the video size
  before adding the text moves the subtitles to where they are supposed
  to be, and breaks long lines that would be cut off.
- Show last subtitle entry: _IndexFor returns the index at which to
  insert a new subtitle for some start time, so when getting an existing
  one, we always need the previous index. Before the change we would do
  that after checking the time of the subtitle at the returned index,
  which for the times of the last one would be outside the list.
- Improve charset detection by using the whole file. Just the first line
  of subtitle text may be too short to be useful, and to get there we
  should have decoded the file first. The refactor also fixes not getting
  the last entry from the file.
- While not subtitle related, fix typo in aspect ratio menu shortcuts.

Fixes: 18151
Change-Id: I83fae735d31bce4616da9128a46be15763c30591
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7833
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>
hrev57810
2024-07-08 20:10:10 +00:00
Augustin Cavalier
2813fd13ca profiler: Report CPU times and use them to compute "missed" ticks.
This shows that the profiler is still pretty broken, because we
are missing quite a lot of ticks on average. One run of
"profile pkgman search" here produced an output with 66 total ticks
and 423 (!) missed ticks. A brief run of WebPositive was not quite
as bad (main thread: 1078 total ticks, 157 missed ticks.)

Change-Id: Idfc34534e66eff0fe7e948fcc3576be09db879a3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7820
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev57809
2024-07-08 17:13:30 +00:00
Augustin Cavalier
60b260aca1 kernel/block_cache: Coalesce consecutive block writes.
This way we can take advantage of the writev() optimization
added in the preceding commit.

Should also help with #15585.

Change-Id: Ib3b8d2c72b4a36cfb75d7c17b91d442161b2dbdd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7825
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev57808
2024-07-08 15:51:13 +00:00
Augustin Cavalier
6c7ced1f01 kernel/fs: Try to use real vectored I/O in common_vector_io.
We can only do this if the underlying I/O will not be cached,
since the I/O hook bypasses any cache. But that should be fine,
as in the event that reads and writes are going through the file cache,
calling read and write multiple times isn't especially expensive.

On the other hand, when the underlying device is not a file
or something else cache-backed, making many I/O calls instead
of just one can be very expensive. The BFS journal flush seems
to routinely call writev() with over 100 iovecs on a regular basis
during high disk activity, and doing 100+ separate writes to
an external drive vs. just one makes a big difference.

Should help with #15585.

Change-Id: I433e9d9948634f8cdccf7999710c6c5e6b6c8850
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7824
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-07-08 15:51:13 +00:00
Augustin Cavalier
cf638bb14b nvme_disk: Fix a few bugs in the get_memory_map logic.
* If realloc returns NULL, we still need to free the original pointer.

 * If get_memory_map returns with B_BAD_VALUE and entries is 0,
   this is really the same as B_BUFFER_OVERFLOW.

Fixes spurious I/O failures when writing the BFS journal directly
with vectored I/O (as the next commit will enable.)

Change-Id: I56b63ea2f6b82716719570f1e35d9b425a49b64e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7823
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
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-07-08 15:51:13 +00:00
Augustin Cavalier
ff91caf6e5 kernel/fd: Merge vectored I/O implementations.
We now have just one rather than three (common_user_vector_io,
_kern_readv, kern_writev.)

No behavioral change intended, though there is some slight
functional change (syscall flags are now set/unset much earlier.)

Change-Id: I6c3c26cab1c19755ef15c8b3c9e38afe9b1d145c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7822
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-07-08 15:51:13 +00:00
Humdinger
ed33555f4c AboutSystem: fix/remove broken links
There seem to be no obvious alternatives to the URLs for:

* Bitstream Charter
* GLU
* Ralink

Those URLs were removed.

Fixes #18932

Change-Id: I20a1a9e4d4808f5f6cbaa0f34f2aaf24be8f90f3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7831
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev57807
2024-07-08 12:49:05 +00:00
Máximo Castañeda
8773f8b854 BTextView: improve layout without word wrapping
- Don't add the insets twice for the preferred width when it is clamped
  to the minimum one.
- Set the minimum size to the preferred one.
- Line breaking depends on text content, not available width, so can be
  done without a valid text rect.

Change-Id: I511d07a8e0ed78330a232679495a1564bfcd22cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7818
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>
hrev57806
2024-07-08 10:56:53 +00:00
Máximo Castañeda
1828888741 CharacterMap: gray-out characters without glyphs in the chosen font
Change-Id: I1a52757579069f7e7fa3a67a5335fe6549379bcb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7830
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
hrev57805
2024-07-06 13:12:21 +00:00
Máximo Castañeda
b8a45b3a2d BFont: allow skipping fallbacks in GetHasGlyphs
Change-Id: I5a68008d25cce34596fb5ce6fb07259ae56c3a3d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7829
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
2024-07-06 13:12:21 +00:00
Máximo Castañeda
36087e77db CharacterMap: fix block filter
Some of the Unicode blocks correspond to the union of two blocks as
defined in BeOS (for example, "Arabic" includes B_BASIC_ARABIC_BLOCK and
B_ARABIC_EXTENDED_BLOCK), making the `Includes` test inadequate.

Change-Id: Ib1a358f6be8a8f517c6b8a3642536b3e75d365a4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7828
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2024-07-06 13:12:21 +00:00
Andrew Lindesay
66ee6532aa HaikuDepot: Image loading
HaikuDepot had an image loading system that was well
suited to handling standard icon sizes on standard
unscaled resolution displays. The new mechanism
introduced in this commit will better support UI
scaling in the application.

Change-Id: I23a4c31387fa35f62d8ed18e411b89444c966a2f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7794
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev57804
2024-07-02 18:04:03 +00:00
Oscar Lesta
13581b3d2a proj2make: some minor improvements.
- Enable use of `find_directory()` when searching for "etc/makefile".
- Fixed a missing return statement on `_l::str()`;
- Fix "STATIC" typo on gAppTypes.
- Removed some superfluous spaces on the output makefile, added a couple
  of missing ones.
- Avoid adding library paths as include dirs.
- Replace BeOS header paths with Haiku's.
- Some minor code style changes, here and there.

Change-Id: I03f221c39e894fb6ab6ffebd95ffe5e749678540
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7786
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev57803
2024-07-02 15:39:43 +00:00
John Scipione
26db1794f9 libprint: whitespace cleanup only
Change-Id: I5a3da12e8f61ff404a50b24b0962f9c92511b182
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7791
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev57802
2024-07-02 10:49:48 +00:00