61426 Commits

Author SHA1 Message Date
Adrien Destugues
529cf83388 wacom: start node monitor earlier
Should fix #16003 but I don't have the hardware to test.

Change-Id: I0e6c0df7b66adf72e35e4afa272cd907427a9427
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2714
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 785518beefc57c5eaa0ce5cb293bffd7d25f1387)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2717
2020-05-17 00:15:02 +00:00
Adrien Destugues
6920f35fca Build fix 2020-05-16 20:12:37 +02:00
Pascal Abresch
c720d047ed aboutsystem: add Pascal Abresch
Change-Id: I30722cf3a72c0ebb89b5da08c5d3d7f03ac485ee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2528
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-05-16 20:07:55 +02:00
Adrien Destugues
8e5a64fe25 Tracker: tweak FindPanel layout again
- Remove the "more options" latch
- Put the icon back on the left.

Fixes #16015
2020-05-16 20:04:54 +02:00
Adrien Destugues
957f33d497 Fix protracker mod sniffing rule. 2020-05-16 20:04:54 +02:00
Niels Sascha Reedijk
b7805185a9 AboutSystem: localize copyright string
Change-Id: Ia43004bbe56bebdb32bcfd3394135ffb9b9914af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2711
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 9094f0c24f91b0f5ffe37bdbcd8d791c042b87fe)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2713
2020-05-16 17:39:50 +00:00
Adrien Destugues
7d6ed5d3f9 device_manager: missing NULL checks.
We should investigate why there are anonymous or unset attributes. But
at least let's not KDL because of it.

Fixes #16038.

Change-Id: Ifd49475e25ce8dcc3e98bc22df81f0e4f493f915
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2710
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 59588089e7292abaa537d9d6da9b537e4caf942f)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2712
2020-05-16 17:34:54 +00:00
Autocomitter
c9b9ba3171 Update translations from Pootle 2020-05-16 17:02:57 +00:00
Adrien Destugues
79ed6dc84d Restrict Protracker sniffing rule.
Unfortunately this will rule out 15-samples MOD files, but it fixes #16035.

Change-Id: If3634c8ef4228ebe7ec5f8eac9f142ffff2ca30c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2703
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e44ab82455291e4c621e92efa9e4c42e4eda8ee3)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2706
2020-05-15 21:47:36 +00:00
Adrien Destugues
812494f9dd Check that expander is enabled before expanding items.
Fixes #16025

Change-Id: Ia69fa23ba8044c0ea14f9b669c13636e087a203d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2702
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit eb4b3f721d82cc4c056e17b0caaea4f31ea53791)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2705
2020-05-15 21:45:15 +00:00
Humdinger
8715a3059d Update "Download Haiku" graphic for beta2
* beta1 -> beta2
* rotate the "beta2" stamp as it was remarked before that the stamp
  going 'uphill' is supposed to have better vibes than 'downhill' as
  it's now...

Change-Id: I60a60a1ba36ac11817294c91deecc555582e039e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2697
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 6bd96c5234def1ed791026efaf7cb32b5fa4bd92)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2700
2020-05-15 01:54:06 +00:00
Niels Sascha Reedijk
b706850de8 AboutSystem: synchronize translators with contributors from Pootle
Change-Id: Ia25ab186dc799a52d537bea2233842cc7e01500f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2663
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 899fffc069d71168942f1f602b52831529348dc4)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2699
2020-05-15 01:52:58 +00:00
Autocomitter
05ba80f69b Update translations from Pootle 2020-05-14 21:33:37 +00:00
Adrien Destugues
796f97fc62 Improve SVG sniffing
The way this rule works is it check two things:
- The document starts with "<?xml", "<svg", or "<DOCTYPE"
- In the first 512 bytes there is either an SVG or DOCTYPE SVG opening
  tag (both casze insensitive)

This should allow to correctly detect most SVG files, all while not
misdetecting other things (for example xhtml with a nested SVG) too
easily. It's difficult to be completely accurate with just a sniffing
rule.

Change-Id: I66d6e21ff694c4a6349989db2685dffb44ef5767
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2681
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit 0f161e01367b0909b83e878ca282588823976056)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2694
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-13 19:58:06 +00:00
Augustin Cavalier
1c725e51f1 repository_infos: Change over to r1beta2 repos.
Change-Id: Iee8b5923de224fa2ffb1f5e8fa4004151cb79a6a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2691
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-13 02:26:19 +00:00
Adrien Destugues
fadb086f09 dstcheck: do nothing if clock is clearly in the past.
Fixes #15855

Change-Id: I0a08863fa81ef96b16543d28d7e95731f34f60ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2684
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit d7aa59110204f2b1bf39712336d750518d79cb11)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2690
2020-05-13 02:07:49 +00:00
Adrien Destugues
17ee61e8f2 BCardLayout: make the first item visible.
Change-Id: I7b836a22bc5c281bec9b44859c42fec56af45574
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2683
Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>
(cherry picked from commit d5a3eb04ef7d7e03da4af73b347ec59519899495)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2689
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-13 02:06:11 +00:00
Augustin Cavalier
e256f75c08 BColumnListView: Consider current, not preferred, column width for overall preferred with.
Otherwise, the entire list will be scanned for row widths, which
is extremely slow with thousands of items, and may not be what
the user wants anyway, if they have set specific column sizes
which are larger/smaller than that.

Helps with #16012 and #15889 considerably.
(cherry picked from commit 9585fabd612d4c823ed9f9d20b15c4c12411895a)

Change-Id: I7414c2f0f69b1d791adf9d8186dbf1ff95a126fa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2688
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-13 02:04:45 +00:00
Autocomitter
8a5894da82 Update translations from Pootle 2020-05-12 19:33:12 +00:00
X512
c45f6c9728 app_server: fix stack overflow crash if too many windows are tiled
Fixes #15796.

Change-Id: I24c29215116e6bad37f0a56e141d6fc26bbe4fb2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2680
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit 83bd4fdac39727ec18c42a94cb0171d3965944aa)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2682
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-11 17:10:42 +00:00
Augustin Cavalier
76e8ce1d8b BCardLayout: Do not recompute size limits on visible item switch.
The size limits are already the minimum/maximum for all views,
not just the current one, so we do not need to recompute them
when the layout is invalidated due to an item switch.

Fixes #14675, and other performance issues on switching tabs
in layouted BTabViews, among other things.

Change-Id: I55bfe4ddb8c8a79c634634cfc27113205a790c42
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2677
Reviewed-by: Andrew Lindesay <apl@lindesay.co.nz>
(cherry picked from commit 9cfe1443266e511b0a9fe9c8514655f280cf1b63)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2678
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-11 00:42:12 +00:00
Adrien Destugues
0742e87e45 FileTypes: ensure there is enough space to display app info
Fixes #15793
2020-05-10 12:09:48 -04:00
Adrien Destugues
0b6768dc84 DiskUsage: fix infinite loop when computing tab width
Stop when we have a solution that is within 1px of accurate. Since tab
width are rounded to the nearest pixel anyway, there is no need to
compute further, and this could otherwise never converge due to rounding
errors.

Fixes #15944.
2020-05-10 12:09:43 -04:00
X512
235118c831 SeparatorItem: support horizontal layout
This is required for BMenuBar based toolbars.

Fixes #15785.

Change-Id: I8d108694b481e408e5c56e23a697c8e7829343dc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2316
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit db3a94141ac2e2d7a9155279fdb95a05a105888d)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2660
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-10 15:57:07 +00:00
Adrien Destugues
95e4519c7d Pulse: do not run the preferences and about windows in DeskBar process
Now Pulse can be both in a normal window and in DeskBar at the same
time. The Replicant starts the app if needed to show the settings and
about box there, instead of showing the window in the DeskBar process.

Fixes #6901

Change-Id: I3cede07df9216c54e4ad97b50618d42c2fa5e12e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/83
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e04f6f31b08f57dfd8a75d3f399666b76f23b22a)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2659
2020-05-10 15:50:06 +00:00
Autocommitter
681add2acc Remove languages that do not meet the r1beta2 criteria 2020-05-10 14:00:41 +00:00
Adrien Destugues
e31b3cb943 Package Kit: reduce identifer/base-url confusion
For historical reasons, the package kit has an "url" field that is not
actually meant to be used as an URL. Rename it in the API and user
facing output as "identifier" to make it clear what the file is used
for. This change preserves the "url" key in on-disk and online storage
(hpkr files, stored settings, etc) in an attempt to not break anything.

Fix one remaining misuse of the "url" field as an URL in
get_package_dependencies.

Add an unit test showing that BUrl does parse "tab" URIs properly (there
is just a protocol and a path segment).

Change-Id: I339ce526e5798d42d78ae650855d7e988dbb4a1a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2620
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 20:04:57 +00:00
Adrien Destugues
d47a2ac1e5 Mail: layout-ify the Find panel
Fixes #13163

Change-Id: I2880b3dcd824087ee998a5dd67c5e9d904b5874d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2629
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 5ef5cba68a211397a2f126e26af5f6e7cc2f950b)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2638
2020-05-09 19:43:55 +00:00
Adrien Destugues
eab2c46745 Appearance: add some extra margin around menufield labels
The font antialiasing settings make the font rendering change. It can
make strings longer or shorter, and this can result in the menufield
being moved by a few pixels. So add a safe margin around the menu field
to accomodate for it.

Fixes #13039.

Change-Id: I73de08b747dc8cade58bcc674dd4f94fb6a9f9eb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2630
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 2b4c59635fc6ac5e3551d1f154141ff72b3b2fc7)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2637
2020-05-09 19:42:34 +00:00
Adrien Destugues
b6bd7313d0 StyledText translator: use a larger buffer for encoding detection
It may be the case that a file is largely ASCII with few UTF-8 or
similar characters (typically, english text mentionning names in other
languages). It turns out 2 kilobytes of text is not enough for a safe
guess in that case.

Fixes #14674

Change-Id: Id894bebb821c22a17b776a71822d011abc795dea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2628
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 8bb5fd243743acca90bc9fc0a3c03abee5f674f5)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2636
2020-05-09 19:37:27 +00:00
Murai Takashi
d306ca0588 SerialConnect: Add localization.
Add localization for menus, statusbar and system name.

Change-Id: I85ef95c1ff940c6d794f49a859ff1b696b866839
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2602
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit 2e6ca31c5a5985bb35a9f25145f2e2303746426e)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2635
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 19:33:18 +00:00
Adrien Destugues
7585469985 Fix comment in kernel settings file
The idea of the settings file is to have commented-out non-default
values. So that uncommenting a line is enough to toggle a boolean
feature.

Change-Id: I38dece9e6359429f3806da3cb6a65e30faacf7bb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2614
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 19:32:43 +00:00
Adrien Destugues
6c1759cd34 ext2: report ext2/3/4 fs name depending on available features
Should help with #12157.

Change-Id: I7ea0310957c06606bc66a289afe8c3a78540a803
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2610
Reviewed-by: Kyle Ambroff-Kao <kyle@ambroffkao.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
(cherry picked from commit 8d9eff5881f3eb9d772d81f73dbbde2f2afb626b)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2618
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 19:32:25 +00:00
Adrien Destugues
a16c358d59 app_server: actually invalidate decorator area on window close
More completely fixes #12085

Change-Id: I73bf987f06422bebbfc739d3700c11edad928646
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2621
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 19:30:50 +00:00
Adrien Destugues
1adf64e942 AboutSystem: some updates to the contributors list
- Move Kyle Ambroff-Kao to the maintainers
- Add Diver, Vidrep and Luroh as bug triaging and testing team (your
  work deserves more credit, thanks a lot!)
- Move Koki back into "past website/marketing team"

Change-Id: I3f198277804aaa2dedf0551ced65e5f94393f3ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2624
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 566914fad4e1fdce4923bb0b2dc5bcf278232c0b)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2633
2020-05-09 19:29:05 +00:00
Adrien Destugues
cd75621a52 Revert "Add-ons: Add alert warning to PNGTranslator"
This reverts commit 450208975b6a059e645e8c2b4a77c346b9b03b71.

The alert is not appropriate because applications cannot intercept it.

Fixes #15734

Change-Id: I5be98367ae615a572193406a559e5d34617e445c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2626
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit fc86ef2cef7b440577edddbd6db02399a423a1d6)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2632
2020-05-09 19:27:26 +00:00
Murai Takashi
aefa31ac26 GLInfo: Add localization for capabilities.
Change-Id: Iafa1ab40962df779efd85a708a54358c96bcaaf3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2622
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit 75ffe22658f51a3b216b21c9a16c4a66eb6a1402)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2631
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-09 19:26:15 +00:00
Adrien Destugues
f0d6613054 DeskBar: misplaced NULL check
- Main problem was that lastItem was accidentally used outside of a NULL check
- Also cleanup initialization and reset of fLastClickedItem (it is now valid
  from mousedown on an item to either mouseup, or when the team dies)

Fixes #15991

Change-Id: Ia511de1922675afea6a2d88d088dc09168e7f7aa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2616
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-05-09 13:22:17 +00:00
Augustin Cavalier
20c7d4694b Revert "kernel/efi: Drop device_set_path_end. Fixes booting Haiku with EFI under qemu"
This reverts commit 51429f04179453622530b5fc1a2bb62f8c4deb75.
2020-05-08 23:50:02 -04:00
Augustin Cavalier
088faf4fb9 Revert "Revert "loader: fetch all potential boot partitions for boot device.""
This reverts commit 0d932a49ada8af6314cd3f20c3f597143f1f555d.
2020-05-08 23:49:42 -04:00
Augustin Cavalier
94b913fb72 Revert "EFI: Use BlockIO to find bootable disks"
This reverts commit bc8cfa3a8ccdd9ff5cea9b9f9836d77530ee4c64.
2020-05-08 23:49:25 -04:00
Augustin Cavalier
3aaad19243 kernel_debug_config: Move global VMCache option to KDEBUG_LEVEL_2.
It does have a performance impact (as it serializes all VMCache
creations), and it is not that useful, so move it to KDEBUG_LEVEL_2
so that the beta releases (on KDEBUG_LEVEL_1) are not affected
by it.

(The nightlies are on KDEBUG_LEVEL_2, so this will not affect
them.)

Change-Id: Iab35d58f9d210651e3fd9027b75ea27a7a6928e5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2612
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit cac30e419035ddd49010a81c59f65b68e4919ce1)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2613
2020-05-09 03:43:43 +00:00
Augustin Cavalier
090ca776a0 kernel_debug_config: Turn KDEBUG_LEVEL down from 2 to 1.
Per the ReleaseCookbook.
2020-05-08 23:39:24 -04:00
Augustin Cavalier
9db174bb16 Disable serial debug output by default.
Per the ReleaseCookbook.
2020-05-08 23:38:34 -04:00
Augustin Cavalier
9c386f1e04 Versioning: This will be R1/beta2. 2020-05-08 23:36:31 -04:00
Augustin Cavalier
a20a26e264 Versioning: Add BETA_2 and PRE_BETA_3 constants.
* PRE_BETA_3 is now the default in master.
hrev54154
2020-05-08 23:30:15 -04:00
Augustin Cavalier
cf9bfa4bb0 SoftwareUpdater: Default to "full-sync" instead of "update".
Fixes #15899.
hrev54153
2020-05-08 23:06:30 -04:00
Michael Lotz
b94221f3b2 mmap: Use MAP_NORESERVE to request overcommit, not PROT_NONE.
This reverts hrev54120 and instead adds the commonly supported
MAP_NORESERVE flag to request overcommit.

Using PROT_NONE for overcommit is problematic as the protection of
individual pages can still be changed via mprotect to make them
accessible, but that won't change the commitment. An application
using such a pattern may then unexpectedly run into out of memory
conditions on random writes into the address space.

With MAP_NORESERVE the overcommit can explicitly be requested by
applications that want to reserve address space without producing
memory pressure.

Change-Id: Id213d2245c5e23103e8e0857f7902e0cd8a2c65d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2611
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
hrev54152
2020-05-09 02:57:48 +00:00
Adrien Destugues
7362b02b0e TabDecorator: fix invalidation when removing a tab.
Fixes #12085.

Change-Id: I346e39ba4dc6befe97f33f8ff409a6ac84ae8585
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2609
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev54151
2020-05-08 22:09:50 +00:00
Adrien Destugues
09af7c139b Tracker: fix layout of find panel.
A minimal layout cleanup for beta2. Further changes were proposed in a
separate ticket, #9781, maybe for later.

Fixes #9780.

Change-Id: I1f66d808bd2cea683aa9f3a905cdf5717f1824ef
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2607
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev54150
2020-05-08 22:07:55 +00:00