Sylvain
|
d8600f717e
Pointer as bool (libsdl-org#7214)
|
пре 2 година |
Simon McVittie
|
eebd5d18a2
linux: Handle upower's UP_DEVICE_STATE_PENDING_CHARGE, PENDING_DISCHARGE
|
пре 2 година |
Ryan C. Gordon
|
95f244598b
power: On Linux, compare status strings as case-insensitive.
|
пре 2 година |
Sam Lantinga
|
ddbdd73258
Updated source to match SDL function prototype style
|
пре 2 година |
Anonymous Maarten
|
3472dc11d6
Fix uses of undefined macro identifiers (-Wundef)
|
пре 3 година |
Sam Lantinga
|
fde78d12f2
Updated copyright for 2023
|
пре 3 година |
Sam Lantinga
|
63724c113b
Removed the vi format comments from the source
|
пре 3 година |
Pierre Wendling
|
3c501b963d
Clang-Tidy fixes (#6725)
|
пре 3 година |
Sam Lantinga
|
5750bcb174
Update for SDL3 coding style (#6717)
|
пре 3 година |
Sam Lantinga
|
c5790359fd
Added precompiled header support for Visual Studio and Xcode (#6710)
|
пре 3 година |
Sylvain Becker
|
6a2200823c
Cleanup add brace (#6545)
|
пре 3 година |
Sam Lantinga
|
0a48abc860
Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>`
|
пре 3 година |
Sylvain
|
1d7966df15
Remove un-needed check for NULL pointer. They were previously checked just before.
|
пре 3 година |
Sam Lantinga
|
5c4fff7f63
Don't fail to get battery status if the upower refresh call fails
|
пре 4 година |
Sam Lantinga
|
03c4405b3b
Fixed D-Bus battery refresh call
|
пре 4 година |
Sam Lantinga
|
ec8e3104c8
Refresh the battery state before we query it on Linux
|
пре 4 година |
Sam Lantinga
|
120c76c84b
Updated copyright for 2022
|
пре 4 година |
Sylvain
|
d31251b014
use SDL's functions version inplace of libc version
|
пре 4 година |
Sam Lantinga
|
345c161feb
Fixed some accidental uses of external C runtime functions
|
пре 4 година |
Sam Lantinga
|
bf97c5a22f
Make sure SDL file descriptors don't leak into child processes
|
пре 4 година |
Sam Lantinga
|
9130f7c377
Updated copyright for 2021
|
пре 5 година |
Sam Lantinga
|
a8780c6a28
Updated copyright date for 2020
|
пре 6 година |
Sam Lantinga
|
58a11d30de
Fixed bug 4920 - Wider support for seconds of battery life left on Linux platforms using sys interface
|
пре 6 година |
Sylvain Becker
|
25d53a4475
SDL_syspower.c: remove redundant expression
|
пре 6 година |
Sylvain Becker
|
ff0d9245a9
SDL_syspower: remove dead store warning
|
пре 6 година |
Sam Lantinga
|
5e13087b0f
Updated copyright for 2019
|
пре 7 година |
Sam Lantinga
|
a9ae1b508d
Handle NULL return from SDL_DBus_GetContext()
|
пре 8 година |
Sam Lantinga
|
e3cc5b2c6b
Updated copyright for 2018
|
пре 8 година |
Ryan C. Gordon
|
b36755a3fc
power: whoops, that should be "==" not "!=".
|
пре 8 година |
Ryan C. Gordon
|
c27dc51478
power: Linux /sys/class testing should skip "device" scopes.
|
пре 8 година |