Petar Popovic
e5d3a1b6f5
Remove casts from typed pointer to void * for printf %p in test projects
2024-09-24 14:40:32 +03:00
Petar Popovic
004ac40226
Fix warning: no function prototype
2024-09-23 10:03:18 -07:00
Petar Popovic
043c876a15
Move default colorspace aliases into enum
2024-09-23 07:37:02 -07:00
Petar Popovic
4392233007
Removed tabs from headers
2024-09-21 10:39:53 -07:00
Petar Popovic
d03c7cdf17
Removing extra semicolons
2024-09-11 19:45:22 -07:00
Petar Popovic
fd2a266549
Adding void to empty function prototype parenthesis
2024-09-11 19:44:52 -07:00
Petar Popovic
6fca867ffe
Fix testoffscreen.c: bool literal returned from 'main'
2024-09-11 01:49:45 -04:00
Petar Popovic
323b60abf1
SDL_test_harness.c: Fix warning -Wcast-function-type-strict
2024-09-10 18:22:54 -07:00
Petar Popovic
a57f6c4af3
Fix additional calloc-transposed-args warnings
2024-09-08 19:28:11 -07:00
Petar Popovic
d2ef15d8e6
Fix warnings: calloc-transposed-args
2024-09-08 19:28:11 -07:00
Petar Popovic
aa6a0be7a8
Fix warning: redefinition of typedef 'SDLTest_TestSuiteRunner'
2024-09-08 15:36:51 -07:00
Petar Popovic
257385277d
SDL_realloc() with size 0 now always defaults to size 1
2024-09-08 06:39:37 -07:00
Petar Popovic
1751e127c8
Removed trailing commas in enums
2024-09-01 06:23:20 -07:00
Petar Popovic
0f59d2f8c9
SDL_test_memory.h: Added void to function prototype
2024-08-31 20:03:25 -07:00
Petar Popovic
d1739ce3a8
Added headers to some SDL_test_*.h files
2024-08-31 11:56:27 -07:00
Petar Popovic
3f05e9cd58
Added includes to SDL_gpu.h
2024-08-31 09:59:17 -07:00
Petar Popovic
1103294d33
SDL_scancode.h: Updating HID usage tables link
2024-05-14 18:13:21 -07:00
Petar Popovic
3baec8aab4
Renaming SDLK_QUOTEDBL to SDLK_DBLAPOSTROPHE
2024-05-14 08:46:38 -07:00
Petar Popovic
94cbaaabbf
Renaming SDLK_QUOTE and SDLK_BACKQUOTE
...
Renaming SDLK_QUOTE to SDLK_APOSTROPHE.
Renaming SDLK_BACKQUOTE to SDLK_GRAVE.
This makes them similar to their scancode names.
2024-05-13 11:11:11 -07:00
Petar Popovic
9c6aa5066a
PipeWire: removing log message
2024-05-10 13:06:20 -07:00
Petar Popovic
45ac1a09d9
System dependent 64 bit integer suffixes
...
Added macros SDL_SINT64_C() and SDL_UINT64_C().
Integer suffixes of SDL_MAX_SINT64, SDL_MIN_SINT64, SDL_MAX_UINT64
and SDL_MIN_UINT64 are now system dependent.
2024-05-06 09:08:49 -07:00
Petar Popovic
dec872bdd9
Fix SDL_GetDaysInMonth() num days in january
2024-04-30 18:06:41 -07:00
Petar Popovic
7bfecacc02
Removing function macro SDL_TABLESIZE()
2024-04-29 13:52:48 -07:00
Petar Popovic
8d0ad44edd
Adding tag names to enums
...
Adding tag names to following enums:
SDL_JoystickType, SDL_JoystickConnectionState, SDL_TouchDeviceType, SDL_DUMMY_ENUM
2024-04-28 16:09:37 -07:00
Petar Popovic
dffbb574ea
renaming SDL_eventaction tag to SDL_EventAction
2024-04-28 16:09:09 -07:00
Petar Popovic
410a3c2c37
.gitignore: Adding compile_commands.json and .cache/
2024-04-26 08:48:22 -07:00
Petar Popovic
e0b45fed06
testlock.c: replace function call kill with raise
...
Replacing function call `kill(0, SIGINT);` with `(void)raise(SIGINT);` in file test/testlock.c.
The `kill()` function is not available on Unix systems when compiling without system extensions enabled.
2024-04-25 15:11:08 -04:00
Petar Popovic
b98116a996
Removing trailing commas in enums in SDL headers
...
Trailing commas in enums is a C99 feature.
This commit removes them in SDL headers for ANSI compatibility.
2024-04-24 09:44:41 -04:00
Petar Popovic
56e6f05440
SDL_RendererFlip rename fixes
2024-04-15 03:32:23 -10:00
Petar Popovic
edb370b8bb
Fixing testffmpeg.c fallthrough warning
2024-04-15 03:27:42 -10:00
Petar Popovic
875ddb4969
SDL_atomic.h rename fixes
...
Adding following macro to SDL_oldnames.h:
SDL_atomic_t SDL_atomic_t_renamed_SDL_AtomicInt
2024-04-15 09:02:39 -04:00
Petar Popovic
132cef91c8
Removing macro SDL_FColour from SDL_pixels.h
2024-04-09 18:20:03 -04:00
Petar Popovic
f687e0732a
Doxygen comment fixes in SDL_pixels.h
2024-04-09 16:57:34 -04:00
Petar Popovic
9b5944a14f
Removing SDL_Colour macro
2024-04-09 12:25:36 -04:00
Petar Popovic
c8a066019b
Renaming SDL_eventaction to SDL_EventAction
2024-04-08 14:28:52 -04:00
Petar Popovic
1efadcc5d4
Revert renaming SDL_eventaction. adding it again in next commit with
...
scripts
This reverts commit f08c31060a .
2024-04-08 14:28:52 -04:00
Petar Popovic
764fe72449
SDL_time.h: Renaming enums SDL_DATE_FORMAT and SDL_TIME_FORMAT to SDL_DateFormat and SDL_TimeFormat
2024-04-07 23:03:01 -04:00
Petar Popovic
f08c31060a
Renaming SDL_eventaction to SDL_EventAction
2024-04-07 12:04:32 -04:00
Petar Popovic
3f8dba3713
Including SD_error.h into headers with error-returning functions
2024-04-04 11:12:58 -07:00
Petar Popovic
de91aaa452
SDL_locale.h - SDL_GetPreferredLocales() - adding SDL_GetError() comment
2024-04-04 07:41:50 -07:00
Petar Popovic
7ae5474305
SDL_quit.h - removing SDL_error.h inclusion
2024-04-04 07:41:50 -07:00
Petar Popovic
9072b994f7
src/filesystem/unix/SDL_sysfilesystem.c add <stdio.h> inclusion
...
gets rid of some warnings
2024-03-18 15:55:40 +03:00
Petar Popovic
4ecea42fb0
testautomation_math.c: use isinf(V) instead of fpclassify(V) == FP_INFINITE
...
Using fpclassify can cause a linker error.
Using isinf instead fixes this.
2024-03-17 11:12:09 -07:00
Petar Popovic
2b45452dd5
Adding comments to init-flags SDL_INIT_AUDIO and SDL_INIT_SENSOR that they imply SDL_INIT_EVENTS
...
When initializing SDL with the flag SDL_INIT_AUDIO or SDL_INIT_SENSOR the event subsystem also gets initialized(SDL_INIT_EVENTS). This isn't mentioned in the comments.
This commit adds these two comments.
2024-03-15 13:10:49 -07:00