Cthulhu-throwaway
e45958b25a
(Network) Get rid of the timeout_enable parameter for socket_connect ( #14351 )
2022-08-25 04:40:19 +02:00
LibretroAdmin
e769436876
(word wrap functions in stdstring.c) Avoid implicit strlens, caller
...
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
Cthulhu-throwaway
e1a139ec0f
(Network Stream) Add function netstream_eof ( #14335 )
2022-08-21 21:52:57 +02:00
Cthulhu-throwaway
f27c8c0c1d
(Network Stream) Add string functions ( #14333 )
2022-08-20 16:36:13 +02:00
LibretroAdmin
c7786a45e1
Create path_get_extension_mutable and use it in menu_explore function
...
for trivial extension replacement in string
2022-08-06 19:06:31 +02:00
Cthulhu-throwaway
a7c93eb9ed
(PS3) Silence Warnings ( #14287 )
2022-08-05 12:45:35 +02:00
Cthulhu-throwaway
b04cb4b1e5
(PS3) Buildfix ( #14285 )
2022-08-05 04:19:28 +02:00
Cthulhu-throwaway
add4a1e8a0
(Network) Define inet_ntop and inet_pton for older Windows versions ( #14284 )
2022-08-05 02:23:35 +02:00
Cthulhu-throwaway
c6b99a5df0
(Network) Always have getaddrinfo and getnameinfo flags defined ( #14283 )
2022-08-04 23:06:28 +02:00
LibretroAdmin
2e5df6a973
fill_str_dated_filename: add size_t return value
2022-08-04 17:18:32 +02:00
LibretroAdmin
0c21a92581
* fill_pathname_expand_special will NULL-terminate string so not
...
necessary to NULL terminate passed string
* fill_pathname - add size_t return value
* Some general cleanups
2022-08-04 17:10:51 +02:00
LibretroAdmin
9ae46d2648
(file_path.c)
...
- file_path_expand_special - cut down on code duplication
- file_path_expand_special - add size_t return value
- fill_pathname_abbreviate_special - add size_t return value
2022-08-04 16:53:53 +02:00
LibretroAdmin
5172fe2ba6
fill_pathname_abbreviated_or_relative - add return value
2022-08-04 16:44:01 +02:00
LibretroAdmin
b2634ea588
* Create fill_pathname_join_special - and specify fill_pathname_join
...
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
Cthulhu-throwaway
3aa1811ca9
(Network) Add getnameinfo_retro ( #14278 )
2022-08-04 13:22:49 +02:00
LibretroAdmin
a974cef001
(sinc resampler) Simplifications - call besseli0 directly instead of
...
through kaiser_window_function wrapper function - get rid of some unnecessary
sqrtf calls and such, some other small opts
2022-08-02 11:29:05 +02:00
LibretroAdmin
605c4608d9
Optimize fill_pathname_join - avoid the call to fill_pathname_slash()
...
which would have an implicit strlen cost
2022-08-01 22:14:26 +02:00
LibretroAdmin
e4bff7c12c
Move rjsonwriter helper inline functions over to separate file rjson_helpers.h
2022-08-01 17:41:34 +02:00
LibretroAdmin
f79875536a
(libretro-common) Move file_crc32 out of encoding_crc32.c - we don't want file I/O
...
code in encodings/encoding_crc32.c
2022-08-01 14:04:01 +02:00
LibretroAdmin
ec6f4c1f55
(libretro-common) refinements to documentation
2022-08-01 13:06:35 +02:00
LibretroAdmin
107c69ab9e
(libretro-common) More documentation refinement
2022-08-01 11:03:58 +02:00
LibretroAdmin
c7a1d83675
(libretro-common) Start documenting leaf functon calls in function documentation
...
(libretro-common) docs - document when string has to be non-NULL or else UB (undefined behavior)
(libretro-common) stdstring.c - string_hex_to_unsigned - make strlen call unneeded
2022-08-01 09:52:39 +02:00
LibretroAdmin
36edb15c5b
path_parent_dir - don't do implicit strlen inside
2022-07-31 12:31:55 +02:00
Cthulhu-throwaway
9b10579a54
(Network) Fix getaddrinfo_retro ( #14261 )
2022-07-31 11:22:28 +02:00
Cthulhu-throwaway
f96ef5407a
(Network) Refactor getaddrinfo_retro ( #14258 )
2022-07-30 22:43:32 +02:00
LibretroAdmin
2c3c9e1e71
Add note to string_list_join_concat
2022-07-27 15:51:16 +02:00
libretroadmin
f994c0b371
Get rid of superfluous wrapper function config_entry_exists
2022-07-19 21:00:40 +02:00
LibretroAdmin
29774f5b7a
Small opts ( #14186 )
...
* (joypad_connection) Small optimizations -
* Turn functions static where possible
* Hose strlen call out of loop
* (input_driver.c) General cleanups:
* Some small code/style nits
task_screenshot.c:
* Move widget callback function for screenshots to task_screenshot.c
(file_path.c):
* Turn get_pathname_num_slashes into static function
* path_linked_list_free - always returns true, so get rid of return value
* path_linked_list_new - fix function signature
* path_get_archive_delim - do not NULL-terminate string, already done by strlcpy later on
General:
* Slight optimizations - use int/size_t for loop counter variable instead of unsigned
* Take advantage of fact that strlcpy already NULL-terminates, so don't do this explicitly
outside if we're just going to end up calling strlcpy/fill_pathname_join on it anyway
2022-07-19 10:01:33 +02:00
Cthulhu-throwaway
83ed9a5980
(Network) Implement binary network streams ( #14180 )
2022-07-17 19:43:48 +02:00
libretroadmin
e4b33fd0e6
(formats/json/rjson.c) Get rid of some implicit strlens and pass
...
size parameter to the functions instead
2022-07-17 06:58:22 +02:00
Cthulhu-throwaway
98ca6232aa
(String) Some function fixes ( #14171 )
2022-07-12 22:32:58 +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
06e1b6a68f
Revert "Move strftime_am_pm to libretro-common rtime.c, remove duplicate"
...
This reverts commit 99186b1056b7e71d876bb868348059d2eec98ee8.
2022-07-12 03:31:42 +02:00
libretroadmin
99186b1056
Move strftime_am_pm to libretro-common rtime.c, remove duplicate
...
functions
2022-07-12 03:29:16 +02:00
Cthulhu-throwaway
f39df40728
(String) Do not assume char is unsigned ( #14168 )
2022-07-12 02:55:56 +02:00
libretroadmin
01d68fdb7e
Remove unused fill_pathname_basedir_noext
2022-07-12 00:09:22 +02:00
libretroadmin
293722ac38
Get rid of fill_pathname_join_concat_ext
2022-07-11 22:01:20 +02:00
libretroadmin
b7926605f4
Remove fill_short_pathname_representation
2022-07-11 21:40:09 +02:00
libretroadmin
b1c9f93903
(file_path) remove deprecated functions
2022-07-11 21:29:01 +02:00
libretroadmin
adf9994828
Deprecate fill_pathname_base_noext
2022-07-11 20:13:44 +02:00
libretroadmin
7186d75c44
Designate fill_pathname_noext as deprecated function
2022-07-11 20:03:42 +02:00
libretroadmin
d706c9c5bf
Start deprecating trivial functions in file_path.c
2022-07-11 19:56:46 +02:00
libretroadmin
cd28d5ec8a
(PSL1GHT/Switch) Fix warnings
2022-07-07 16:38:12 +02:00
barbudreadmon
e9d67f2bbe
savestates: implement an api call for context awareness ( #14101 )
2022-06-30 10:45:59 +02:00
Cthulhu-throwaway
f2b3948b39
(UPnP) Attempt support for remaining platforms ( #14107 )
2022-06-26 21:38:52 +02:00
Cthulhu-throwaway
14e5cd317b
(Network) net_ifinfo refactor ( #14102 )
2022-06-25 16:37:12 +02:00
Cthulhu-throwaway
a7dc57f68f
(Network) Move the addr_6to4 function to a proper place ( #14100 )
2022-06-25 09:18:32 +02:00
Cthulhu-throwaway
8c6c399a01
(Network) Move the HAVE_INET6 macro to a proper place ( #14096 )
2022-06-25 00:54:39 +01:00
libretroadmin
278f088c99
Fix 'function declaration is not a prototype' warning on Clang/Mac
2022-06-19 14:09:55 +02:00
Cthulhu-throwaway
43ad2b64b2
(Network) Replace socket_select calls
2022-06-12 02:13:34 -03:00