Commit Graph
39 Commits
Author SHA1 Message Date
Pascal Abresch 41d2224b7e Switcher: fix build
Change-Id: I69b3643b89374d4aa4e6d8fe9cee105374bb8640
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6009
Reviewed-by: Adrien Destugues <[email protected]>
2024-08-16 14:28:14 +00:00
Pascal Abresch 6fe3a560bd radeon_hd: tell ATOMbios that we handle brightness control
In hrev55767, a previous patch added the needed code for Haiku to control the display brightness. However, we didn't tell the video card BIOS about it, and so the card could also control the brightness by itself.

This disables BIOS based brightness control and lets Haiku take over cleanly.

Change-Id: Ie0e8f7e653c2d4773c463d21246f2ccc6ec8f441
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7116
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-12-11 18:10:14 +00:00
Pascal Abresch fb222ad5f7 develop docs: fix packages/Readme links
Change-Id: I865751fe47ffbb655f8f3d2de8af656fc872490a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6190
Reviewed-by: nephele <[email protected]>
Tested-by: Automation <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-03-19 00:59:32 +00:00
Pascal Abresch b548e9131d Api docs: fix code blocks
Also simplifies some canvas vars

Change-Id: I52cd507768ffa361bbd68e1064f947bbcf2dcfa4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6184
Tested-by: Automation <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-03-11 22:28:47 +00:00
Pascal Abresch 40a7fe3f68 Api docs: style search
Change-Id: I11cf0ae20ff7fc34dd2facaba462f5851efea050
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6078
Reviewed-by: nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2023-02-21 10:47:03 +00:00
Pascal Abresch 9a91a72662 Api docs: dark mode
Change-Id: I46538353f38902b58937286a9e32167424fc7d0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6074
Reviewed-by: nephele <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-02-18 16:08:12 +00:00
Pascal Abresch 229a173c6e Mail: respect system text & Link color
Change-Id: I0e37f640decb69a43ee12389af36c70c3821d548
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6062
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Axel Dörfler <[email protected]>
2023-02-11 18:53:58 +00:00
Pascal Abresch 99d1318ec0 Fix userguide localization
Change-Id: Ie52a545b4e50ef3d87c7bfb26e54772fd7816377
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5974
Reviewed-by: nephele <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
2023-01-18 12:46:12 +00:00
Pascal Abresch 75070a4089 ShowImage: Fix status view font size
Change-Id: If29226e01c0ea24c367c029f87225822f0f1509d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3756
Reviewed-by: Adrien Destugues <[email protected]>
2023-01-15 08:49:19 +00:00
Pascal Abresch 322be3bee0 StatusView: compute font size based on scrollbar size
Compute a font size that just fits the available space, instead of using
an arbitrary scaling. This makes the code adjust to any font and any UI
size.

Select the appropriate font using a binary search, which will need only
a few attempts (I think 6 font sizes will be tried at the default
config)

Change-Id: Ie3b8678678c0d940981f1785418aa8ab354d01c5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3893
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-01-15 08:45:06 +00:00
Pascal Abresch 46fdf97dea Interface Kit: add default dark appearence color constants
Change-Id: I8added6ada702eb09e95f5f2d6e34b748067c6bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4571
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2022-07-24 14:10:18 +00:00
Pascal Abresch 730f5df354 aboutSystem: remove spleen font credits
hrev55108 imported the spleen font into the tree and added credits.

hrev56196 removed the spleen font from the tree again, but left the credits.

this commit removes the credits.

Change-Id: I44b7ca1f6100eb86559b48c96db2b3590ee1b9b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5492
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2022-07-23 16:11:51 +00:00
Pascal Abresch 92eeb4af7d apps/musiccollection: build fix
Change-Id: Ia2d4f5b9b80d9385c60136f8f6185c820be2181b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5446
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2022-07-15 11:17:15 +00:00
Pascal Abresch 05844f660c Userguide CSS: add dark mode
Change-Id: I94c308ea22a304f061544a28e1490b9c004191d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5329
Reviewed-by: nephele <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2022-07-06 15:49:23 +00:00
Pascal Abresch eb9ff8e5a7 libtracker: Fix Tests.cpp compilation
Change-Id: I5a738e71a92846cfe7cc46727be65ff0f57d4c39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5328
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2022-05-21 14:54:29 +00:00
Pascal Abresch 3604e6c384 WebPositive: fix loading bar height
Change-Id: Ic1e9c1c64b8bd00efadd6e2ea9f0c686e8b1141c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4823
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: Kacper Kasper <[email protected]>
2021-12-27 16:01:57 +00:00
Pascal Abresch 1764036b15 Preferences/Time: Remove 32-bit UNIX time checks.
Change-Id: If974d441a932d54491024ba1a64688db513a57cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4330
Reviewed-by: waddlesplash <[email protected]>
2021-08-27 13:55:08 +00:00
Pascal Abresch 325ab89b90 ControlLook: fix minor code style violation
Change-Id: I0b3e80e7ba4418f06c20fd02f96cb2932623fd71
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4102
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2021-06-20 19:55:44 +00:00
Pascal Abresch 29a109bd6c Framebuffer console: Add spleen font (12x24)
Use this larger font when the screen resolution is large (more than
1920x1080 in both directions). The usual font is too small and not easy
to read on such high resolution displays.

Change-Id: I14a40ecf6917d0c6c64ab5a8abe1affcb3839a74
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3818
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2021-05-26 06:52:54 +00:00
Pascal Abresch 409d65c0d6 Decorator: Introduce Scroll bar size call
Change-Id: I07f08c2893d832e431c29ae753e0a93d6e619701
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3892
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: X512 <[email protected]>
2021-05-03 16:42:32 +00:00
Pascal Abresch e5feb3a7ae Webpositive: Change default search engine to duckduckgo
Change-Id: I4cb519453b0697260778fb34449ba5ac36972dcd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3757
Reviewed-by: Adrien Destugues <[email protected]>
2021-03-05 08:00:50 +00:00
Pascal Abresch f924bac3c7 StyledEdit: Fix New menu item after hrev54812
Change-Id: I583bc43dc64d46e92e20e46da9a894c489617d43
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3563
Reviewed-by: waddlesplash <[email protected]>
2020-12-30 17:36:10 +00:00
Pascal Abresch 39b50e1008 StyledEdit: fix statusview font size
Change-Id: I0d1fd0c0d3628c30c17748e11accc9907d028953
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3562
Reviewed-by: waddlesplash <[email protected]>
2020-12-30 17:36:10 +00:00
Pascal Abresch 0d6b19e963 DeskCalc: Remove __HAIKU__ ifdef
No functional change intended

Change-Id: I934bef5c8b09a267c423edf7698bb57170e43945
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3559
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
2020-12-30 14:47:39 +00:00
Pascal Abresch d6005b727c StyledEdit: convert main view to layout api
Change-Id: I913c8f559faf09654b0e249f512858ed24fe1ffe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3537
Reviewed-by: John Scipione <[email protected]>
2020-12-24 09:09:05 +00:00
Pascal Abresch 7377c39855 Tracker: make desktop color selection try user color first
Change-Id: I47392bdafe8ecf1996886fd0a8324a114f4524fd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3407
Reviewed-by: waddlesplash <[email protected]>
2020-11-29 16:23:59 +00:00
Pascal Abresch 7866835b41 Tracker: remove desktop check for text colors in poseview
Change-Id: I4db3cd5525242314bd7177dcdd25cd8ec0aa1f7f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3406
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2020-11-29 16:23:59 +00:00
Pascal Abresch ff21b4c370 HaikuControlLook: don't modify menu color before applying it
Change-Id: I31838d4c17d4616c2c166197596a93bf51785677
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3410
Reviewed-by: Jérôme Duval <[email protected]>
2020-11-26 07:35:33 +00:00
Pascal Abresch b8bd451e9f AboutSystem: Respect system colors
Change-Id: I2fac8c2a7ab9033cc730db373710a856a8827eb8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3262
Reviewed-by: John Scipione <[email protected]>
2020-09-23 06:30:19 +00:00
Pascal Abresch 4b1f514b08 Teammonitor: Respect system colors
Change-Id: I5cc69376ade425c46bc76f8179f93bb74428da68
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3261
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-23 06:30:19 +00:00
Pascal Abresch 99d96cefd9 TLS: add user cert dir
BSecureSocket currently only checks for trust anchors in the CA file,
this change will add the openssl certs/ directory as a trust anchor dir.
this matches the behaviour openssl has on the commandline and allows
users to install their own trust anchors to verify against for TLS

Change-Id: I9db5c3f3b063607e092dded3d5b141dba340a8e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3207
Reviewed-by: Fredrik Holmqvist <[email protected]>
2020-09-14 19:07:17 +00:00
Pascal Abresch 6ffd243dbc app_server: Fall back to style "Regular" before style 0
Most notably in noto sans cjk style 0 seems be thin or light, and not Regular
this should make the fallback try Regular and only fall back to 0
if no font has a regular variant for the requested glyph

Change-Id: Ib152a50e6cace032278a60f664c2569fa9fe82fc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2887
Reviewed-by: Axel Dörfler <[email protected]>
2020-06-09 08:33:06 +00:00
Pascal Abresch 290fd41d06 app_server: Fall back into non-matching font variants if necessary.
7a8d5a2db3 introduced that the fallback tries to match the style
instead of using regular, the fallback was broken in a different way until commit
4dcd8c81b1 fixed the remaining issue, this commit
makes the fallback first try the matching style and afterwards try the regular
style (so as to improve above falling back to regular in every case).

Fixes #16189.

Change-Id: Iee956c4c1461794b4836c94e09d66d8cbf196678
Signed-off-by: Augustin Cavalier <[email protected]>
Style fixes and use of BAutolock by me. Also changed the style fallback
to use style 0 instead of "Regular".
(cherry picked from commit 3c6422ea0fd90e002ae9f78b1ca3e67766cb3551)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2877
2020-06-05 05:17:24 +00:00
Pascal Abresch 3ef1314981 aboutsystem: add Pascal Abresch
Change-Id: I30722cf3a72c0ebb89b5da08c5d3d7f03ac485ee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2528
Reviewed-by: Adrien Destugues <[email protected]>
2020-05-10 15:41:51 +00:00
Pascal Abresch 7bc364740d Stylededit: update rdef
Change-Id: I39a2983518b24713f8f1f79e6b4b3d942b7b894c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2304
Reviewed-by: waddlesplash <[email protected]>
2020-04-12 21:07:43 +00:00
Pascal Abresch 619b2670b1 StyledEdit: Add cmd +, cmd - shortcuts for font size
Change-Id: I540ed130322fa1ce7eba62c4a1d1de36b12ccf9a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2303
Reviewed-by: Adrien Destugues <[email protected]>
2020-04-12 21:07:19 +00:00
Pascal Abresch 7a8d5a2db3 app_server: fix fallback for fonts where the variants match.
This does not produce a satisfactory fallback if i.e "extrabold"
is selected since the CJK font does not have that, probably need to
figure out a way to change the font style so that it renders correctly
(render cjk as bold when display is at extrabold or so).

Fixes #15751.

Signed-off-by: Augustin Cavalier <[email protected]>
2020-02-29 18:30:40 -05:00
Pascal Abresch 89cc64ae2b fix detection of video/mp4 files via sniffer rule
Fixes #15297
2019-10-12 18:26:40 +02:00
Pascal Abresch 64a4b621b8 added media and acpi keys to ps/2 driver
Change-Id: I92999325785dd81d2425cc06c70e9bedc26379ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1675
Reviewed-by: Adrien Destugues <[email protected]>
2019-08-05 21:50:34 +00:00