Commit Graph

45 Commits

Author SHA1 Message Date
twinaphex
df8f93e9d5 Split up VFS file_path code into separate file 2020-01-09 15:44:48 +01:00
orbea
043977474e Silence -Wstring-plus-int with clang.
cores/libretro-imageviewer/image_core.c:75:59: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
static const char* IMAGE_CORE_PREFIX(valid_extensions) = 1+ /* to remove the first |, the alternative is 25 extra lines of ifdef/etc */
                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cores/libretro-imageviewer/image_core.c:75:59: note: use array indexing to silence this warning
1 warning generated.
2019-07-22 12:41:14 -07:00
twinaphex
f739a018de file_list in image_core.c should no longer be a public scoped variable 2019-07-12 00:50:34 +02:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08: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
esoptron
ebf644f172
Add MIT License to internal Imageviewer core 2018-01-30 10:00:56 -05:00
Alcaro
bfeb9ff5c2 that's an interesting double free 2017-12-18 22:29:27 +01:00
Twinaphex
60aa6bf3fb Fix warnings 2017-12-15 20:33:39 +01:00
twinaphex
b7eba4b28f Update image_core.c 2017-12-15 19:25:30 +01:00
Alcaro
c88e5e08a0 Add VFS support to imageviewer (should get Unicode filenames working on Windows too, even without VFS) 2017-12-15 11:00:02 +01:00
Alcaro
29b9ec0b5e Create this thing because makefile 2017-12-15 10:12:01 +01: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
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
dd1c376ea9 C89_BUILD fixes 2017-01-09 01:55:38 +01:00
twinaphex
9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
Alcaro
a42b847c56 +1 is better than the alternative. 2016-10-01 19:48:28 +02:00
Alcaro
3665e11f83 Remove +1 shenanigans 2016-10-01 19:32:02 +02:00
Alcaro
160444845d Fix #3704 2016-10-01 19:25:53 +02:00
twinaphex
871d0b7bcd (imageviewer) Build up extensions depending on which switches are defined 2016-09-04 21:45:12 +02:00
twinaphex
6f386d56cd Fix imageviewer 2016-09-04 21:39:16 +02:00
twinaphex
e9b8255af2 Fix C89_BUILD 2016-09-04 21:34:03 +02:00
Brad Parker
cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
Brad Parker
cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
twinaphex
10a9effc1d Silence warnings 2016-07-31 14:29:33 +02:00
twinaphex
f7bd9a7843 HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build 2016-06-21 06:59:31 +02:00
twinaphex
80f2e11799 Imageviewer no longer uses stb_image by default 2016-06-21 06:53:25 +02:00
Andre Leiradella
97a4f0d2fd show a checker background behind images with transparency 2016-05-29 00:24:09 -03:00
twinaphex
c369a00a3e Start working towards making image viewer core no longer
dependent on stb_image
2016-05-18 13:11:09 +02:00
twinaphex
4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex
93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex
6f9b7a4c87 Silence CXX_BUILD warnings 2016-02-28 22:51:02 +01:00
twinaphex
32353b10bb Take out async job code from imageviewer core 2016-02-22 18:18:12 +01:00
twinaphex
8aa429bd67 Refactor imageviewer code 2016-02-22 16:55:02 +01:00
twinaphex
473e6ff7b8 Call RETRO_ENVIRONMENT_SHUTDOWN if image can't be loaded 2016-01-23 15:45:40 +01:00
Alcaro
3de1e58592 (Imageviewer) React only to freshly pressed inputs. 2016-01-23 15:32:15 +01:00
Alcaro
328ec2cdca Clean this up. 2016-01-23 15:29:41 +01:00
Alcaro
a2118e3938 Fix memory leak. 2016-01-23 15:23:44 +01:00
twinaphex
9acf3e2309 (Imageviewer) Call RETRO_ENVIRONMENT_SET_GEOMETRY after loading image 2016-01-22 16:50:26 +01:00
twinaphex
87bdb34599 Get rid of some unused variables 2016-01-22 15:36:04 +01:00
twinaphex
346074ee38 (imageviewer) Cut down on some code duplication 2016-01-22 01:58:21 +01:00
twinaphex
eb43efb8e7 (imageviewer) Start creating async job queue 2016-01-22 01:52:53 +01:00
twinaphex
8c15834c87 (Imageviewer) New controls:
Up   - +5 images, go to last image if wraparound
Down - -5 images, go back to first image if wraparound
2016-01-21 21:57:30 +01:00
twinaphex
c66e721782 (imageviewer) Cleanups 2016-01-21 20:13:24 +01:00
twinaphex
c4e821c3a1 (Image viewer) Controls:
Left     - Previous Image
Right    - Next Image
Y button - Toggle slideshow
2016-01-21 20:11:03 +01:00
twinaphex
652d94e9ee Move cores/image_core.c 2016-01-21 19:53:52 +01:00