libretroadmin
d37068cfb8
Move code back
2025-07-15 23:35:37 +02:00
libretroadmin
3eb8589550
(file_list) Optimizations:
...
* file_list_insert - use memmove instead of malloc to add new
file item on top of the existing one
2025-07-14 17:04:44 +02:00
libretroadmin
215219dc51
Change libretro-common code back
2025-07-14 05:50:17 +02:00
libretroadmin
86b55c14ec
(file_list)
...
Performance improvements:
* Various optimizations
* Reduced memory allocations - file_list_insert would call malloc
for every single item that would need to be shifted downwards. instead
it does a memmove call now
2025-07-14 00:17:12 +02:00
libretroadmin
3e85a17d7a
iFix warnings picked up by -fanalyzer
2024-05-23 23:50:23 +02:00
libretroadmin
5971f24237
Remove some code duplication
2023-06-20 09:37:07 +02:00
LibretroAdmin
1e035b9385
(file_list) Get rid of superfluous small functions
2022-09-04 17:52:06 +02:00
LibretroAdmin
dfb4b603e4
Get rid of superfluous wrapper function file_list_get_at_offset
2022-09-04 07:30:21 +02:00
LibretroAdmin
1a24bfe60c
(file_list) Get rid of useless wrapper functions
2022-09-04 05:39:16 +02:00
libretroadmin
83655420f6
file_list_prepend just a thin wrapper around file_list_insert - get
...
rid of it and just pass 0 as the last argument instead
2022-07-12 16:56:44 +02:00
libretroadmin
0e85113eb3
(libretro-common) Style nits/cleanups
2022-07-10 18:13:49 +02:00
twinaphex
a772eb550d
file_list_get_size - list can be NULL, in which case return 0
2021-01-21 00:24:32 +01:00
twinaphex
7867c4b70e
Get rid of file_list_get_size calls - one line wrapper function
2021-01-20 08:31:05 +01:00
twinaphex
7a6b9fd1b2
(Ozone) Horizontal list - put on stack - it's already on heap-allocated
...
struct as is
2020-08-24 10:22:32 +02:00
twinaphex
93fa9a0194
Add file_list_deinitialize - does everything that file_list_free
...
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex
7cac61e5eb
Use malloc instead of calloc when possible
2020-06-24 18:52:42 +02:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
twinaphex
d8860104d3
Get rid of file_list_get_alt_at_offset
2019-08-20 06:13:33 +02:00
twinaphex
9f297f5f7c
Cleanups
2019-05-19 05:50:28 +02:00
twinaphex
63d9d4e2d3
(menu entries) Cleanups
2019-05-13 04:05:11 +02:00
twinaphex
e1b11593fc
(file_list.c) Cleanups/optimizations
2019-04-27 07:32:40 +02:00
twinaphex
890e1eb064
(file_list.c) file_list_expand_if_needed - unroll this function
2019-04-27 07:21:50 +02:00
Twinaphex
076a0d2f56
(OSX) Code analysis cleanups
2019-04-08 23:13:39 +02:00
twinaphex
45b1ed33b2
(MSVC) Silence warning
2019-02-06 23:42:13 +01:00
natinusala
c20ab3864d
First version of menu widgets (gl only)
2019-02-06 20:48:24 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Higor Eurípedes
d40deb737d
(file_list.c) Add file_list_reserve()
2017-09-03 14:58:01 -03:00
twinaphex
e58eee37bc
Cleanups
2017-06-28 05:44:59 +02:00
twinaphex
688414c5bb
Get rid of some retro_assert usage
2017-06-26 05:38:51 +02:00
twinaphex
607ae71259
Turn string_is_equal_noncase into self-contained function
2017-04-21 14:17:47 +02:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
af8f0eb9b2
(file_list.c) file_list_add - get rid of memset
2017-02-20 02:01:17 +01:00
twinaphex
64bb848daf
Update headers (pt. 2 - libretro-common)
2017-01-22 13:58:20 +01:00
twinaphex
a07f591859
(file_list.c) Cleanups
2017-01-10 22:24:46 +01:00
twinaphex
481ebced22
Prevent implicit memsets
2016-10-09 09:56:03 +02:00
twinaphex
0b6578f869
Turn file_list_epand_if_needed static
2016-06-03 10:16:40 +02:00
twinaphex
6e86f3ab5b
Create file_list_expand_if_needed
2016-06-03 10:15:49 +02:00
twinaphex
7d7a9a2384
Move increment of list to file_list_add
2016-06-03 10:12:35 +02:00
twinaphex
8a6f1be61c
Create static function file_list_add
2016-06-03 10:10:19 +02:00
twinaphex
3ef925d692
file_list_append - use memset too
2016-06-03 10:06:48 +02:00
twinaphex
44dc3f70b4
Fix regression in file_list_prepend
2016-06-03 10:05:05 +02:00
twinaphex
d6430b2f5e
Attempt to fix wrong sizeof argument
2016-06-02 20:45:32 +02:00
twinaphex
d1d46a59db
Rewrite file_list_capacity
2016-05-24 04:19:36 +02:00
twinaphex
b34da03281
Update
2016-04-22 05:31:56 +02:00
twinaphex
ac18671ead
Update libretro-common
2016-04-22 05:28:49 +02:00
Twinaphex
66ba52eab0
CXX_BUILD fixes
2016-04-17 07:49:54 +02:00