3399 Commits

Author SHA1 Message Date
Marvin Häuser
0a97ed4ff1 OpenCanopy: Set AE cursor position before event registration
Resolves the need for TPL handling.
2021-03-19 22:46:09 +01:00
Marvin Häuser
31129295c3 OcCpuLib: Initial import of OcAtomicPreIncUint8 2021-03-19 22:46:09 +01:00
Marvin Häuser
6e13160e22 OpenCanopy: Pull KeyEvent out of GUI objects
Key events cannot abstractly be propagated, hence there is no point to the abstraction.
2021-03-19 22:42:11 +01:00
MikeBeaton
8f5719bbfa AppleHid: Fix modifier bits 2021-03-19 18:22:19 +00:00
Marvin Häuser
f0046e45f1 OcAppleEventLib: Scale click area by UIScale 2021-03-19 16:34:09 +01:00
Marvin Häuser
5659fb5ebe
OcAppleEventLib: Fix pointer click timings 2021-03-19 01:43:48 +01:00
Marvin Häuser
b7105e3338 OcAppleEventLib: Reduce pointer poll frequency for compatibility
At least QEMU cannot poll faster than 10 ms.
2021-03-19 00:36:08 +01:00
Marvin Häuser
8ecaa8b77f OcAppleEventLib: Scale click durations when changing pointer poll timer 2021-03-19 00:14:32 +01:00
Marvin Häuser
fb6a190cca OpenCanopy: Do not register 'Click' events with AppleEvent
We do not need the concept of a 'Click', which is a short-term button down-up sequence in a very narrow square area, as it is common behaviour to invoke any button on button up if and only if the cursor is in the button area. Timing and relative movement do not matter for the action.
2021-03-18 23:47:43 +01:00
Marvin Häuser
6d3c8ff8a9 OcAppleEventLib: Improve variable naming 2021-03-18 23:45:09 +01:00
Marvin Häuser
3db317e93f OcAppleEventLib: Fix incorrect right button handling 2021-03-18 23:44:34 +01:00
Marvin Häuser
783dd3d99f OpenCanopy: Restore cursor acceleration 2021-03-18 21:50:02 +01:00
Marvin Häuser
6925d74d08 OpenCanopy: Fix pointer event propagation
Resolves issue where clicking on selected boot entries would not work.
2021-03-18 19:22:16 +01:00
Marvin Häuser
bfe091c0e6 OpenCanopy: Fix ASSERT on timeout 2021-03-18 11:06:14 +01:00
Marvin Häuser
fe934b0a25 Changelog: Document AppleEvent and OpenCanopy changes 2021-03-17 20:48:23 +01:00
Marvin Häuser
8f84ad21f1 OpenCanopy: Move selector to BootPickerContainer 2021-03-17 20:04:46 +01:00
Marvin Häuser
747be85475 OpenCanopy: Change child structure layout for no-op casts 2021-03-17 20:04:46 +01:00
Marvin Häuser
7b7d36a866 OpenCanopy: Replace linked lists with arrays for GUI object children 2021-03-17 20:04:46 +01:00
Marvin Häuser
06991a81cf OcAppleEventLib: Aggregate raw pointer data
Scaling deltas can lead to restricted motion effects when they are low - division leads to rounding errors and the remainder is discarded. Aggregate the (upscaled) raw values instead and scale down on demand.
2021-03-17 20:04:29 +01:00
Marvin Häuser
570e6a2f88 OpenCanopy: Remove pointless clipping code 2021-03-17 19:56:13 +01:00
Marvin Häuser
cc61bd7ee9 OpenCanopy: Do not disable interrupts
On some systems, disabling interrupts will severely limit the input quality as it disables the KeySupport and AppleEvent timers. Furthermore, the mechanism barely mitigated tearing, so it was ineffective anyway.
2021-03-17 19:53:16 +01:00
Andrey1970AppleLife
2498a01af8 Docs: Updated Samples ACPI patches 2021-03-17 04:28:21 +03:00
Marvin Häuser
ecd964a039 OcCryptoLib: Remove inadequate ASSERTs 2021-03-16 21:58:18 +01:00
Marvin Häuser
8ff1642bab OpenCanopy: Swap Restart/ShutDown buttons 2021-03-16 20:05:35 +01:00
Marvin Häuser
fa75245727 OpenCanopy: Simplify draw request merging 2021-03-16 20:02:38 +01:00
Andrey1970AppleLife
da1bdc3633 Docs: Updated Samples ACPI patches 2021-03-16 14:41:55 +03:00
vit9696
83c0fd7c44 OcAcpiLib: Fix ACPI patch failure after first missed base lookup 2021-03-16 09:46:22 +03:00
vit9696
0f42527e58 OcAcpiLib: Fixed ACPI table magic corruption during patching 2021-03-16 09:45:34 +03:00
vit9696
548e144817 Docs: Sync changelog 2021-03-15 18:48:03 +03:00
Vitaly Cheptsov
5880ec2182
OcAcpiLib: Provide Base lookup for ACPI patches (#237) 2021-03-15 18:45:45 +03:00
Marvin Häuser
b7ba490e1f OpenCanopy: Shift cut-off entries right rather than left 2021-03-14 20:20:17 +01:00
Marvin Häuser
b0530eae93 OpenCanopy: Do not include padding for the first boot entry
Fixes https://github.com/acidanthera/bugtracker/issues/1564
2021-03-14 20:13:02 +01:00
Vitaly Cheptsov
3d9d43b25d
OcMiscLib: Fix typo in the function description 2021-03-13 19:17:52 +03:00
vit9696
7252f2553f OcCpuLib: Fix frequency rounding for Core 2 Duo P8600 2021-03-13 01:31:40 +03:00
vit9696
d381c87769 User: Add missing guid 2021-03-13 01:28:29 +03:00
vit9696
5a69caa7e0 OcCpuLib: Implement Apple nForce CPU frequency reading 2021-03-13 01:12:43 +03:00
vit9696
6f914f98be Utilities: Let CPU decoder be tested externally 2021-03-12 23:24:29 +03:00
PMheart
c6f4de9e76 Docs: Fix verb tense 2021-03-12 20:06:47 +08:00
PMheart
a8f0f31d9d Docs: Sync changelog 2021-03-12 19:29:41 +08:00
PMheart
ca8046be27
OcCpuLib: Implement TSC frequency reading from Apple Platform Info (#233) 2021-03-12 19:26:23 +08:00
Rodion Shingarev
46e0528d67 Utiltites:fix Legacy Boot fdisk syntax mistyping 2021-03-12 09:44:28 +02:00
Andrey1970AppleLife
97b131d6b9 Update fw 2021-03-12 01:48:40 +03:00
Vitaly Cheptsov
93c68ba698
Docs: Sync changelog 2021-03-11 08:04:05 +03:00
kylon
9056de4304
OcSmbiosLib: Fix index in OcSmbiosGetSmcVersion (#234) 2021-03-11 08:02:50 +03:00
Marvin Häuser
c7ba611e49 OpenCanopy: Fix child clipping
Width and Height may have exceeded the dimensions of the current object.
2021-03-11 01:22:44 +01:00
vit9696
1ed6e7d5d0 OcSmbiosLib: Add Xeon X5675 frequency values 2021-03-09 22:04:07 +03:00
Andrey1970AppleLife
56653300e0 DataBase: Fixed MarketingName 2021-03-09 21:47:35 +03:00
vit9696
64e8b9ccd4 OcSmbiosLib: Further improve CPU frequency calc on legacy CPUs
closes acidanthera/bugtracker#1554
2021-03-09 14:53:46 +03:00
Marvin Häuser
ba8eb0e185 OpenCanopy: Detect click-ability by opacity 2021-03-08 23:28:55 +01:00
Marvin Häuser
b173d50526 OpenCanopy: Add shutdown/restart buttons 2021-03-08 23:28:51 +01:00