twinaphex
aea55f9c2d
(RJPEG) Cleanup
2019-06-09 05:55:03 +02:00
jdgleaver
ff297e72e7
(task_image) Make image loading/processing non-blocking on non-threaded systems
2019-05-28 12:57:52 +01:00
jdgleaver
431877799d
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 13:07:11 +01:00
twinaphex
f07952ecf0
Fix ASAN error
2019-05-16 17:43:16 +02:00
twinaphex
55e0a97446
Revert "Turn palette 64bit"
...
This reverts commit 8b8d4c83c0
.
2019-05-16 16:51:59 +02:00
twinaphex
8b8d4c83c0
Turn palette 64bit
2019-05-16 16:42:11 +02:00
Huw Pascoe
ea931428e1
rxml read from string and fix memory violation
2019-05-11 09:58:45 +01:00
Huw Pascoe
cd714dbd0b
image_texture_load_buffer
2019-05-11 09:58:45 +01:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex
cec06a0859
C89 buildfixes
2019-03-24 18:15:26 +01:00
Huw Pascoe
45069537fb
Re-enable RXML and purge libxml
...
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
Hugo Hromic
0cfefdd2a8
(libretro-common/libchdr) Use int types and format aligned to the chd_header
typedef
2019-03-14 18:12:10 +00:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
orbea
4c56167446
Convert to linux line endings.
2019-02-03 15:43:42 -08:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Twinaphex
fab4834b82
Merge pull request #7959 from bparker06/json_playlist
...
add JSON playlist format
2019-01-14 03:14:54 +01:00
twinaphex
6ca9afbd57
Silence more warnings with CXX_BUILD
2019-01-12 18:51:06 +01:00
Brad Parker
c7041260d7
add JSON playlist format
2019-01-09 17:13:13 -05: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
Francisco José García García
19549ddccf
[ORBIS] Fix __assert
2018-12-27 20:18:53 +01:00
Twinaphex
93af9baf48
Remove warning
2018-09-01 04:04:15 +02:00
twinaphex
821ffc9962
Clang scan-build error fix
2018-08-19 16:13:13 +02:00
Brad Parker
2f87f669f1
fix null dereference (but scan-build still warns with "Assigned value is garbage or undefined")
2018-08-18 01:00:53 -04:00
Brad Parker
fbe08aa0c5
fix double free
2018-08-18 00:51:07 -04:00
twinaphex
863204b343
Merge commit 'c68f2796b95838412610023611398d7c9968a3f3'
2018-06-21 08:22:10 +02:00
twinaphex
d14a3f0d1f
Merge commit '5c25cc90765cbf6ad7f01c0b635c72595bc7f457'
2018-06-21 08:18:08 +02:00
twinaphex
697531dbdd
Merge commit '944cac83520c99e1ddf3d8cd3bf25990c8746d14'
2018-06-21 08:07:19 +02:00
twinaphex
dd7ac99f27
Merge commit '6ff58826d8725e4e8788c22706de8b25cc89a4c2'
2018-05-12 18:05:31 +02:00
twinaphex
9d5472cecf
Merge commit '37aad93a58efba6c340e13aa1d83ddf2df762b3d'
2018-05-12 18:03:49 +02: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
3c73183a04
Cleanups - fix warnings
2018-05-07 15:05:59 +02:00
Twinaphex
b41c4ed624
Update
2018-04-23 10:22:54 +02:00
twinaphex
997c24ae0c
Make FLAC, zlib and LZMA support in libchdr optional
2018-04-22 20:19:07 +02:00
twinaphex
fc169cf4fe
Split up libchdr_chd.c into several files
2018-04-22 19:50:14 +02:00
twinaphex
8e2dfa6184
Cleanups
2018-04-22 19:19:27 +02:00
twinaphex
8a1f2f5cf2
Update libretro-common
2018-04-22 18:36:30 +02:00
twinaphex
7bef8746a3
Add chd_precache code to libchdr
2018-04-22 18:04:45 +02:00
twinaphex
1fd2cf1ff5
Update libchdr chd
2018-04-22 17:43:57 +02:00
twinaphex
db314ff82f
Uniquely namespace libchdr source files
2018-04-22 12:10:15 +02:00
twinaphex
88d62c7766
Update
2018-04-21 06:31:07 +02:00
twinaphex
e5d90eebd7
Updates to libretro-common
2018-04-21 06:29:56 +02:00
twinaphex
d8fd499f3d
Update count
2018-04-19 23:41:15 +02:00
twinaphex
835e491c62
Use int64_t type for feeding to filestream_read
2018-04-19 22:26:40 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
bb05af0d92
(libchdr) Prevent memory leak
2018-04-15 18:39:42 +02:00
Twinaphex
91ba0765e6
(libchdr) Silnces xcode warning
2018-04-09 05:58:32 +02:00
twinaphex
3d0e768e71
Silence some Coverity errors
2018-02-04 19:30:34 +01:00
twinaphex
d5ec046c63
Use calloc
2018-01-23 03:43:38 +01:00
twinaphex
6a47669d21
Prevent some heap corruptions/exceptions
2018-01-23 03:41:25 +01:00
twinaphex
93561a042b
Cleanups
2018-01-23 03:35:23 +01:00
twinaphex
f680f00098
Indent nit
2018-01-23 03:31:28 +01:00
twinaphex
625ddc5e52
Prevent some null pointer dereferences
2018-01-23 03:30:55 +01:00
twinaphex
27f34bf420
Some stability fixes
2018-01-23 03:23:49 +01:00
twinaphex
a80fb7c969
Add some safeguards here
2018-01-22 21:48:28 +01:00
twinaphex
bd73d4b98a
Cleanups
2018-01-17 06:44:16 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
orbea
df885fce31
libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
...
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea
eeb6230ebd
libchdr: Trivial cleanup
2018-01-05 16:08:29 -08:00
Twinaphex
f4250a1ad5
Silence unused variable warnings
2018-01-05 14:13:58 +01:00
orbea
2d19885a17
C89_BUILD: Fix some clang compiler errors
...
Fixes the following -Werror warnings with C89_BUILD=1 and clang.
gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
Status status = 0;
^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
2018-01-03 16:53:11 -08: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
twinaphex
a1ce8b58c4
Simply formats/xml/rxml.c
2017-12-11 18:01:56 +01:00
twinaphex
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
twinaphex
d0eef2579e
remove this - shouldn't be necessary
2017-11-25 00:54:51 +01:00
Twinaphex
5136ec2df0
Updates
2017-11-06 05:37:32 +01:00
Brad Parker
20850a7f92
travis: add mingw build targets
2017-10-24 00:37:31 -04:00
twinaphex
20da0f0666
Cleanups
2017-10-06 05:28:35 +02:00
twinaphex
608bc45388
Prevent another memory leak
2017-10-06 05:25:05 +02:00
Alcaro
3d9d5320ad
typo
2017-10-06 02:15:49 +02:00
twinaphex
6013e25b2b
Cleanups
2017-10-06 01:59:16 +02:00
Alcaro
76283edd07
fix buncha ignored errors and whatever
2017-10-06 01:53:00 +02:00
twinaphex
7959cd3993
Use malloc
2017-09-29 22:47:45 +02:00
Twinaphex
3c04a9776c
(OSX) Add FLAC and CHD support
2017-09-22 04:41:09 +02:00
twinaphex
46b79ccd78
Compilation fixes - headers need to be moved to separate include dir
2017-09-21 19:34:46 +02:00
twinaphex
c0de19f23d
Update
2017-09-21 19:29:13 +02:00
twinaphex
c3b5981dc0
Create minmax.h for libchdr
2017-09-21 19:28:32 +02:00
twinaphex
df60512a0d
Cleanup our dep version of 7zip - we don't want non-stdint types.
...
Other misc. cleanups
2017-09-21 19:23:09 +02:00
twinaphex
49cf80db10
Fix resource leaks
2017-09-18 15:57:05 +02:00
Brian Koropoff
3b7a202934
Fix libchdr build on Windows
2017-09-17 22:04:11 -07:00
twinaphex
4e71b75a7d
include retro_inline.h
2017-09-17 18:38:51 +02:00
twinaphex
f67641c52c
(libchdr) Can't have C++ comments
...
(config.params.sh) Have to disable FLAC for now; still doesn't
compile for Windows due to fseeko/ftello errors
2017-09-17 18:36:55 +02:00
Brian Koropoff
d41ea34d6b
upgrade libchdr
2017-09-17 02:02:04 -07:00
twinaphex
3c758609b5
Updates
2017-08-08 18:51:01 +02:00
twinaphex
e979eece1c
Updates
2017-08-08 18:45:56 +02:00
ensra
6a36453f20
Cast ctype args to unsigned char
2017-08-08 12:21:48 +01: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
558181e7dd
(jsonsax_full.c) Silence some warnings
2017-05-31 04:23:28 +02:00
twinaphex
79bcc5efc9
Style nits
2017-05-19 19:16:05 +02:00
Twinaphex
808b973752
(OSX) Silence warnings
2017-05-16 08:44:17 +02:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
3593256a76
MSVC Buildfix
2017-05-09 02:29:24 +02:00
twinaphex
8e3d0612d2
Try to fix MSVC error
2017-05-08 21:12:55 +02:00
twinaphex
fec24bd47b
Cleanup rwav
2017-05-08 18:45:37 +02:00
twinaphex
dd517f4660
Try to avoid directly calling strcmp
2017-04-21 13:56:15 +02:00
twinaphex
2712b60de0
(rjpeg) Cleanup
2017-04-10 06:11:53 +02:00
twinaphex
a84540515c
Cleanup
2017-04-10 06:03:49 +02:00
twinaphex
51581e1578
Include string.h instead
2017-03-09 01:50:27 +01:00
Brad Parker
bd6ca986d8
msvc buildfix
2017-03-05 14:19:38 -05:00
Brad Parker
21fe0c8499
bake in johnanthonyowens/jsonsax as jsonsax_full
2017-03-05 14:19:35 -05:00
Twinaphex
216e7bcdaf
Silence more warnings on iOS
2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
22dfa1ca7c
Fix C89_BUILD
2017-01-30 19:32:02 +01:00
twinaphex
216e45f9ea
Get rid of printfs
2017-01-30 19:12:47 +01:00
Alcaro
22cf87adc9
Shut up false positive
2017-01-28 18:07:00 +01:00
Brad Parker
0e90ab36a0
fix rwav sample memcpy
2017-01-27 18:02:16 -05:00
twinaphex
64bb848daf
Update headers (pt. 2 - libretro-common)
2017-01-22 13:58:20 +01:00
twinaphex
c6e1b47d98
(libretro-common) Style nits
2017-01-17 19:20:15 +01:00
Josh Palmer
453d823d2a
Fix jsonsax compilation on QNX, 'index' appears to be a reserved symbol
2017-01-09 20:26:09 +00:00
Alcaro
9cf987c328
warning: comparison between signed and unsigned integer expressions
2017-01-02 02:18:54 +01:00
twinaphex
9657bbd998
Get rid of set_rgba/unset_rgba inside image_texture.c
2016-12-29 23:22:40 +01:00
twinaphex
6a166faa0c
Revert "Remove supports_rgba varaible from image_texture.c"
...
This reverts commit bd0c97fdc4
.
2016-12-29 22:53:10 +01:00
twinaphex
bd0c97fdc4
Remove supports_rgba varaible from image_texture.c
2016-12-29 22:39:52 +01:00
twinaphex
80d8a90bce
(RTGA) Cleanups
2016-12-21 14:33:42 +01:00
twinaphex
a4ca4a7eb4
(rbmp.c) Cleanups
2016-12-21 14:13:40 +01:00
twinaphex
3050240a35
(rbmp.c) Cleanups
2016-12-21 14:08:40 +01:00
twinaphex
90dca2d537
(rbmp.c) Simplify
2016-12-21 14:00:58 +01:00
twinaphex
2fa5b09e7a
(RJPEG) Cleanups
2016-12-18 15:57:47 +01:00
twinaphex
d6ece7f1b8
(RJPEG) Cleanups
2016-12-18 15:51:08 +01:00
twinaphex
a44afda5c5
(RJPEG) Cleanups
2016-12-18 15:30:29 +01:00
twinaphex
099f3a8d52
(RJPEG) Style nits
2016-12-18 15:28:02 +01:00
twinaphex
e9d9f1d90f
(RBMP) Cleanups
2016-12-18 14:51:57 +01:00
twinaphex
35de6df7f9
(RJPEG) Cleanups
2016-12-18 12:15:36 +01:00
twinaphex
222650df35
(rjpeg.c) Cleanups
2016-12-18 12:12:09 +01:00
Andre Leiradella
d6625434a7
Fixed copyright notice and removed reference to stb_image
2016-12-12 23:26:08 +00:00
Andre Leiradella
b65e16d39d
Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files
2016-12-12 23:23:36 +00:00
Gregor Richards
ac50e17f50
Moving zlib stream interface
...
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
twinaphex
cb772047ff
Prevent some more memsets
2016-10-21 19:32:44 +02:00
twinaphex
2b834ce9d8
(rpng) Prevent implicit memsets
2016-10-16 01:34:16 +02:00
twinaphex
efdee89d09
Create samples
2016-09-28 12:44:41 +02:00
twinaphex
dbf6d9331f
(rpng_encode.c) Use encoding_crc32
2016-09-21 02:16:56 +02:00
Brad Parker
7c29fd6c33
create 7z archive backend, enables scanning of 7z content
2016-09-18 10:31:21 -04:00
twinaphex
db36b40b20
Rework this code
2016-08-23 20:12:37 +02:00
twinaphex
1b44f44822
Buildfix
2016-08-23 20:11:12 +02:00
Francisco José García García
5bd2364575
(VITA) Fix screenshots and some debug options
2016-08-23 18:17:46 +02:00
twinaphex
b64070793a
(PS3) Fix two warnings
2016-08-03 16:30:58 +02:00
twinaphex
fda2495021
Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it
2016-08-02 15:34:48 +02:00
twinaphex
aefcca125a
Fix TGA color conversion
2016-06-27 09:23:01 +02:00
Sebastien Ronsse
62b1c5a7af
image transfer: Add TGA support to image_transfer_new function
2016-06-27 17:17:35 +10:00
Sebastien Ronsse
e77599be32
image texture: Add length argument to image_transfer_process
2016-06-21 14:34:34 +10:00
twinaphex
14fce400ce
Another C89 fix
2016-06-07 00:17:00 +02:00
Twinaphex
75ad88e171
Cleanups
2016-06-03 05:09:54 +02:00
twinaphex
bc3eb34da5
Remove unused variables
2016-06-01 04:09:59 +02:00
twinaphex
da6ac4aae7
Fix explicit NULL dereferenced warnings
2016-06-01 04:05:14 +02:00
Andre Leiradella
9cc830ecd6
fixed getting wrong alpha values from tRNS chunk
2016-05-29 11:30:04 -03:00
Andre Leiradella
88eab60b13
optimized palette decoding
2016-05-29 11:25:28 -03:00
Andre Leiradella
d9ea20727c
support tRNS chunks in palettized images
2016-05-29 01:03:44 -03:00
twinaphex
0f954fd4c8
Resource leaks fixes (catched by Coverity)
2016-05-26 17:26:55 +02:00
twinaphex
20cc877ad3
(PS3) Cleanup warnings
2016-05-26 06:41:28 +02:00
twinaphex
7859868ffc
(RPNG) Dehardcode return values
2016-05-25 15:24:18 +02:00
Sebastien Ronsse
58328fa2b0
rjpeg: Fix invalid read/writes during JPEG RGBA to ARGB conversion
2016-05-25 15:57:01 +10:00
twinaphex
d037d12faa
(RJPEG) Attempt to solve defect
2016-05-24 23:43:51 +02:00
twinaphex
bfa6f49ae6
Fix logically dead code warnings
2016-05-24 22:12:51 +02:00
twinaphex
42971febba
Fix resource leaks (pointed out by Coverity)
2016-05-24 22:01:43 +02:00
twinaphex
3cc84d60c8
(RJPEG) Cleanup
2016-05-24 20:54:32 +02:00
twinaphex
fc37ef5c7d
rjpeg_load_jpeg_image - cleanup
2016-05-24 20:44:46 +02:00
Twinaphex
fae5eb89df
rjpeg_process_image - cleanup
2016-05-24 20:36:27 +02:00
twinaphex
d04810f5fd
Reimplement rjpeg_process_image
2016-05-24 20:19:17 +02:00
twinaphex
ae4cd05690
(RPNG) Simplification
2016-05-24 20:15:09 +02:00
Twinaphex
7e6f23ea54
(RJPEG) Cleanup
2016-05-24 20:05:45 +02:00
twinaphex
ffaa32842f
(libretro-common) Update
2016-05-24 14:18:29 +02:00
Twinaphex
44edf684db
(RPNG) Another potential leak plugged
2016-05-23 21:33:26 +02:00
twinaphex
faef7b498d
(Coverity) Fix some resource leaks
2016-05-23 21:28:43 +02:00
twinaphex
45cbe06401
rpng_process_image - cleanup resources if we fail
2016-05-20 21:05:27 +02:00
twinaphex
d02d27f92a
(PNG) Cleanup
2016-05-20 15:37:36 +02:00
twinaphex
033bc60939
(RPNG) Cleanup
2016-05-19 01:00:03 +02:00
twinaphex
ceb657eba2
Cleanups
2016-05-19 00:51:34 +02:00
twinaphex
6c2e933321
rpng_process_init - free resources when failing
2016-05-19 00:46:07 +02:00
twinaphex
a0974a899d
(RPNG) Rewrite initialization of process struct
2016-05-19 00:42:05 +02:00
twinaphex
e21a655dc6
(RPNG) Use image process codes
2016-05-18 17:18:36 +02:00
twinaphex
9b572d0fe4
Make RBMP optional too
2016-05-18 13:28:20 +02:00
twinaphex
7e36dcb27f
move video_texture_image to libretro-common and rename it to image_texture.c
2016-05-18 12:58:00 +02:00
twinaphex
1ef5eee8b3
Header cleanup
2016-05-18 11:08:09 +02:00
twinaphex
9bc11731fb
Start reimplementing TGA image load support
2016-05-18 10:52:23 +02:00
twinaphex
248b99e8e7
(BMP) Fix color conversion
2016-05-17 22:40:29 +02:00
twinaphex
492dd59164
Hook up BMP image loading - color channels swapped - RGBA to ARGB
...
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
4309793b1d
Add rbmp.c
2016-05-17 21:21:45 +02:00
twinaphex
cecb50bd19
(RJPEG) Cleanups
2016-05-17 20:30:35 +02:00
twinaphex
8c640a28c6
(RJPEG) Remove unused rjpeg_image_load
2016-05-17 16:40:11 +02:00
twinaphex
1166be62ae
(gfx/video_texture_image.c) Drop more implementation details
2016-05-17 16:32:53 +02:00
twinaphex
52948b436e
We can take out RPNG implementation details out of video_texture_image.c
...
now
2016-05-17 16:23:22 +02:00
twinaphex
99bcf5946c
Take out DEBUG printfs
2016-05-17 16:04:54 +02:00
twinaphex
7a282eab23
(rbmp_encode.c) Cleanups
2016-05-17 15:58:50 +02:00
twinaphex
a64f0a24c6
(RJPEG) Cleanups
2016-05-17 14:07:05 +02:00
Twinaphex
beac855ff7
(RJPEG) Remove unused variable
2016-05-17 13:51:42 +02:00
twinaphex
ce0376e382
Remove debug printf
2016-05-17 13:50:35 +02:00
twinaphex
185050075a
(RJPEG) Cleanups
2016-05-17 12:56:11 +02:00
twinaphex
6c79ecdae7
(RJPEG) Cleanups
2016-05-17 12:52:45 +02:00
twinaphex
808004a132
(RJPEG) Cleanups
2016-05-17 12:47:46 +02:00
twinaphex
609d00b3d7
(RJPEG) Image needs to be converted from RGBA to ARGB
2016-05-17 12:17:45 +02:00
twinaphex
9202256c3c
Don't need rjpeg__jpeg_test
2016-05-17 12:02:24 +02:00
twinaphex
64c176288b
Should fix JPEG decoding tasks
2016-05-17 10:07:40 +02:00
twinaphex
23f410c5fe
(RPNG) Fix test
2016-05-14 01:12:05 +02:00
twinaphex
f8e99403a4
Cleanups
2016-05-14 00:48:40 +02:00
twinaphex
7a16cf8806
Revert "(RJPEG) Remove rjpeg_test"
...
This reverts commit 5a4b062b0d
.
2016-05-13 13:31:10 +02:00
twinaphex
e56abc03b3
(rjpeg_process_image) Handle error
2016-05-13 11:15:31 +02:00
twinaphex
5a4b062b0d
(RJPEG) Remove rjpeg_test
2016-05-13 11:10:59 +02:00