Higor Eurípedes
29e9b87319
(tasks) Make task handles honor task->cancelled
2015-11-24 22:18:09 -03:00
Higor Eurípedes
0496bed76e
(tasks) Add wait/cancel functions and some documentation
2015-11-24 22:18:09 -03:00
Higor Eurípedes
5a158a18ce
(tasks) Actually implement a task queue
2015-11-24 22:18:09 -03:00
Higor Eurípedes
92683976a5
Add user_data pointer to rarch_task_push_image_load()
2015-11-24 13:50:44 -03:00
Higor Eurípedes
6e43bd4893
(task_overlay) Fix bug introduced by c342bb4
2015-11-24 10:32:18 -03:00
Higor Eurípedes
afce03a20e
(task_http) Abort task on error
2015-11-23 22:45:36 -03:00
Higor Eurípedes
1d946a1b27
(task_file_transfer) Fix --disable-zlib builds
2015-11-23 20:41:25 -03:00
twinaphex
c342bb437a
Fix warnings
2015-11-23 23:47:25 +01:00
twinaphex
f02258585f
Remove unused variable
2015-11-23 23:45:01 +01:00
Higor Eurípedes
280f0fda66
(tasks) Fix behavior in non threaded implementation
2015-11-23 17:45:15 -03:00
Higor Eurípedes
9654fabe77
(overlay) Fix on screen keyboard
2015-11-23 17:42:01 -03:00
Higor Eurípedes
52e3b03546
Remove some uneeded prototypes
2015-11-23 17:42:01 -03:00
Higor Eurípedes
a0d2bb4c7c
Reimplement overlay loading with tasks
2015-11-23 17:42:01 -03:00
Higor Eurípedes
4b8a2ebad7
Fix build
2015-11-23 17:42:01 -03:00
Higor Eurípedes
935e03fa97
Reimplement http transfers using tasks
2015-11-23 17:42:01 -03:00
Higor Eurípedes
5d92e9061c
Reimplement image loading using tasks
2015-11-23 17:42:01 -03:00
Higor Eurípedes
c21ffeff71
Reimplement content scanning using tasks
2015-11-23 17:42:01 -03:00
Higor Eurípedes
12fe5a0e18
Create tasks.c
2015-11-23 17:42:01 -03:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
82f64cbf43
Get rid of is_thread variable for this function
2015-11-23 09:46:53 +01:00
twinaphex
dd0a191548
(task_file_transfer.c) Remove some redundant functions
2015-11-23 09:42:00 +01:00
twinaphex
f806e7b9c1
Don't put overlay code on thread again
2015-11-22 18:25:09 +01:00
Twinaphex
1cd1ecfc5c
More C89_BUILD buildfixes
2015-11-19 13:43:48 +01:00
twinaphex
89c262c552
(XBOX) Some build fixes
2015-11-17 11:13:46 +01:00
twinaphex
ed0e5c37e2
(XBOX) Some build fixes
2015-11-17 11:11:41 +01:00
Higor Eurípedes
0e8d65c44e
(task_database) Fix serial lookup
2015-11-16 20:49:51 -03:00
Higor Eurípedes
9770bc354c
(task_database_cue) Fix memory leak
2015-11-16 20:46:29 -03:00
Higor Eurípedes
dc3a561845
(task_database_cue) Fix buffer overflow
2015-11-16 20:46:29 -03:00
Higor Eurípedes
0ae631078a
(task_database) Stop crc lookup on first match
2015-11-14 19:44:08 -03:00
twinaphex
eb33e83eff
Some more non-HAVE_MENU buildfixes
2015-10-28 08:02:39 +01:00
twinaphex
df01279cf3
Add non-HAVE_MENU ifdefs
2015-10-28 00:55:11 +01:00
twinaphex
9e2dc0745e
Add param to dir_list_new_special
2015-10-26 21:30:58 +01:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
02a5d738fe
Static code analysis cleanups
2015-09-28 23:00:22 +02:00
twinaphex
94c3546e71
More static code analysis cleanups
2015-09-28 22:03:16 +02:00
twinaphex
0cc56e2a1a
More static code analysis nits
2015-09-28 18:44:28 +02:00
twinaphex
4ca5d31f9b
Some more static code analysis nits when ran with enable=all
2015-09-28 18:12:02 +02:00
twinaphex
1eb80f6c93
More static code analysis fixes
2015-09-28 17:18:48 +02:00
Twinaphex
f44852b35b
Fix redefinition of variable
2015-09-28 03:32:05 +02:00
Twinaphex
f2f3374760
Get rid of unused variable
2015-09-28 03:31:09 +02:00
twinaphex
d3792d9f66
(task_database_cue.c) Cleanups
2015-09-28 01:52:56 +02:00
twinaphex
c7fe8922a1
Allow upper-case CUE extension too
2015-09-27 03:50:45 +02:00
twinaphex
1d33bf5db7
Add uppercase 'ISO' extension too
2015-09-27 03:48:58 +02:00
Jean-André Santoni
d2d402ea1b
Refactor CD scanning, and detect PSP games before searching serials
2015-09-27 02:14:24 +02:00
Jean-André Santoni
1ffe9eae43
Implement PSP scanning
2015-09-27 00:12:17 +02:00
twinaphex
cdf597aa89
Add settings->overlay_directory
2015-09-26 19:21:32 +02:00
aliaspider
eb10e8b977
(PS1) serial lookup: improve error detection.
2015-09-26 01:27:17 +01:00
aliaspider
bdcc7c81ce
(PS1) convert serial to uppercase.
2015-09-26 00:44:47 +01:00
twinaphex
e280ff2767
(PS1) PS1 serial lookup fix
2015-09-26 01:29:17 +02:00
twinaphex
8c87f0bd31
Add alternative PS1 detect game code by aliaspider
2015-09-26 00:05:15 +02:00
Jean-André Santoni
c4450d29f0
Fix psx scanning, thanks to @aliaspider
2015-09-25 02:38:28 +02:00
Jean-André Santoni
938e89562b
Search the ps1 serial in the whole binary
2015-09-25 00:36:12 +02:00
Jean-André Santoni
fea95aa4a1
Finish implementing psx scanning
2015-09-24 14:14:42 +02:00
Jean-André Santoni
0e7018c27d
Serial lookup for psx scanning
2015-09-22 15:22:15 +02:00
twinaphex
3db688d477
Create retro_stat.c/retro_stat.h
2015-09-22 01:45:30 +02:00
twinaphex
f75cdd1e97
(Vita) Fix some warnings about possibly uninitialized variables
2015-09-20 22:44:03 +02:00
twinaphex
3564532564
Create retro_write_file
2015-09-19 00:34:24 +02:00
twinaphex
432aac58a3
Get rid of more fcntl header includes
2015-09-18 04:03:11 +02:00
twinaphex
d74be88d0a
(tasks/database_cue.c) Use RFILE
2015-09-17 20:31:04 +02:00
twinaphex
78185be8bf
Build fixes
2015-09-16 22:44:16 +02:00
twinaphex
097da7ca9d
Add kivutar to copyrights
2015-09-16 22:40:49 +02:00
twinaphex
fad78d8b81
Split up code to task_database_cue.c
2015-09-16 22:39:47 +02:00
Jean-André Santoni
07f362e88d
Start adding ps1 scanning
2015-09-16 22:11:08 +02:00
twinaphex
504bea51e0
Cleanups
2015-09-16 10:28:54 +02:00
twinaphex
8ca8b43545
Take out retro_endianness.h include out of retro_miscellaneous.h
2015-09-14 03:34:05 +02:00
Alcaro
9554597160
Add missing header includes, fixes CXX_BUILD.
2015-09-06 14:46:25 +02:00
Twinaphex
8d2eceaa22
(rpng) Cleanups
2015-09-06 13:02:44 +02:00
twinaphex
f88575633e
Cleanups
2015-09-05 20:34:22 +02:00
twinaphex
c259b983de
struct definitions now go inside rpng_common.h - move them
...
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex
2194ab6631
Cleanups
2015-09-01 13:01:16 +02:00
twinaphex
511b2c6d83
Create rpng_set_buf_ptr
2015-09-01 13:00:02 +02:00
twinaphex
d5837f4b7c
Don't take in as first argument rpng->buff_data - handle this internally
2015-09-01 12:56:39 +02:00
twinaphex
cd79143038
(rpng) Encapsulate incrementation of buffer position
2015-09-01 12:52:04 +02:00
twinaphex
3762502112
Create rpng_is_valid
2015-09-01 12:41:31 +02:00
twinaphex
09aac8a320
Create rpng_nbio_is_valid
2015-09-01 12:39:17 +02:00
twinaphex
15ba019ea1
Don't make asserts dependent on retro_log.h
2015-09-01 11:59:27 +02:00
twinaphex
31e093dadb
(Android) Fix Android build
2015-08-29 17:06:39 +02:00
Alcaro
c05bb6e0c3
Tolerate unset database path.
2015-08-20 19:24:08 +02:00
Alcaro
28b1c9eada
Rename this variable, every other instance of it has the same name.
2015-08-20 19:08:07 +02:00
twinaphex
c4ff5e73f1
(task_database.c) Refactor away get_ptr function
2015-08-06 04:14:49 +02:00
twinaphex
52c2e76ec8
(task_http.c) Cleanups
2015-08-06 04:08:20 +02:00
twinaphex
2ea5dda564
Refactor away rarch_main_data_nbio_get_ptr
2015-08-06 04:01:44 +02:00
twinaphex
6b261aad87
rarch_main_data_nbio_iterate_poll - get rid of implicit memset
2015-08-06 03:58:45 +02:00
twinaphex
f967c88ff0
(runloop_data.c) Cleanups
2015-08-06 02:31:50 +02:00
twinaphex
a70f09a90d
Rearrange structs
2015-07-27 17:18:10 +02:00
twinaphex
9185d37710
Bump up collection limit
2015-07-26 00:40:24 +02:00
twinaphex
2dbc3c4b56
(Overlays) Cleanups
2015-07-12 07:12:33 +02:00
twinaphex
f58c171428
(task_overlay.c) Cleanups
2015-07-12 01:19:58 +02:00
twinaphex
2121f7a813
Create overlay->alive
2015-07-11 23:45:23 +02:00
twinaphex
1b163e6a5a
Cleanup input_overlay.c
2015-07-11 08:07:14 +02:00
twinaphex
51137d5351
Set pending_scan_finished to false in rarch_main_data_db_uninit
2015-07-09 02:33:46 +02:00
twinaphex
1c406bc098
Add rarch_main_data_pending_scan_finished and other mechanisms
...
so that the call to menu_environment_cb gets made on main thread
2015-07-09 02:31:46 +02:00
twinaphex
701b5609d4
(task_overlay.c) Using rarch_main_is_idle here is not thread-safe
2015-07-09 01:16:03 +02:00
twinaphex
cdf3ce309e
Decouple 'overlay' state from driver_t
2015-07-09 01:10:30 +02:00
twinaphex
387d687ef9
(MSVC) Some MSVC buildfixes
2015-07-09 00:24:10 +02:00
twinaphex
51e2a128c5
(runloop data) Don't have to pass around runloop pointer anymore
2015-07-08 23:01:11 +02:00
twinaphex
c90072df55
Move lock to task_overlay.c
2015-07-08 22:42:45 +02:00
twinaphex
04b98bebd9
Cut down on header includes
2015-07-08 22:14:31 +02:00
twinaphex
000f9650d7
(task_http.c) Get rid of header include
2015-07-08 22:11:45 +02:00
twinaphex
52e2fd1689
Refactor task_database.c
2015-07-08 22:03:23 +02:00
twinaphex
c84ddb53fa
(task_databse.c) Refactors
2015-07-08 21:48:58 +02:00
twinaphex
3605b97c80
Create rarch_main_data_http_uninit
2015-07-08 21:38:22 +02:00
twinaphex
dcd5a4fdcc
Refactor task_http.c
2015-07-08 21:35:24 +02:00
twinaphex
74627d1497
(task_http.c) Some refactors
2015-07-08 21:18:34 +02:00
twinaphex
84066e1a5d
Move all sorts of structs over to task_file_transfer.c
2015-07-08 20:12:20 +02:00
twinaphex
664592b354
Use rarch_main_data_nbio_get_handle and rarch_main_data_nbio_image_get_handle
2015-07-08 20:10:18 +02:00
twinaphex
a1a4bc4057
task_file_transfer.c - decouple 'nbio' state from runloop data struct
2015-07-08 20:04:16 +02:00
twinaphex
08b56582b2
(task_file_transfer.c) Add workaround for bogus file transfer requests
2015-07-08 16:52:40 +02:00
twinaphex
039ba91c48
Add mechanism so that task_database informs the menu driver that
...
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
Higor Eurípedes
a3aab2f98e
(task_database) Dont call zlib_parse_file_iterate_stop so much
2015-07-05 10:40:51 -03:00
Higor Eurípedes
3cc6e07174
(task_database) Fix leaks when scanning zip files
2015-07-05 10:23:21 -03:00
twinaphex
4b118323d4
Add better place to put EVENT_CMD_CORE_INFO_INIT
2015-07-04 06:35:17 +02:00
Twinaphex
f2e5b969a7
Merge pull request #1886 from fr500/master
...
make info files reload after a successful download/extraction
2015-07-04 06:31:56 +02:00
radius
da7cf5df8e
make info files reload after a successful download/extraction
2015-07-03 23:30:01 -05:00
twinaphex
431169d86b
Add 'Update Core Info Files'
2015-07-04 06:18:02 +02:00
twinaphex
38839dc8eb
Make 'Download Core Content 'work
2015-07-04 04:01:35 +02:00
twinaphex
d20f110a2f
Start adding 'Content Downloader' options
2015-07-04 03:37:43 +02:00
radius
a47ff23546
Revert "make shaders unzip on shader_dir instead of a subdirectory for consistency"
...
This reverts commit c78cf7dde6
.
2015-07-03 09:42:32 -05:00
radius
2836eb976f
Merge remote-tracking branch 'upstream/master'
2015-07-02 17:45:12 -05:00
twinaphex
d4dcf784c9
Update msg_hash.c
2015-07-01 19:40:50 +02:00
radius
c78cf7dde6
make shaders unzip on shader_dir instead of a subdirectory for consistency
2015-06-30 21:08:45 -05:00
twinaphex
8bf46e4424
Add call to network_init before setting up http connection
2015-06-28 19:10:36 +02:00
twinaphex
52e99f5417
Hook up 'Update Cg Shaders' and 'Update GLSL Shaders'
2015-06-24 17:56:44 +02:00
twinaphex
90a6932b53
Implement 'Update Databases'
2015-06-24 17:42:31 +02:00
twinaphex
9a991e4852
Implement 'Update Overlays'
2015-06-24 17:37:15 +02:00
twinaphex
d88738e28d
Hook up 'Update Cheats' - cheats.zip on buildbot needs to be
...
updated so that it no longer has a rootsubdir 'cht'
2015-06-24 16:55:18 +02:00
twinaphex
badaae7198
(Menu) Hook up 'Update Autoconfig Profiles'
2015-06-24 16:36:29 +02:00
twinaphex
b2e27a452e
Create cb_generic_download
2015-06-24 16:21:58 +02:00
twinaphex
f3814c2b02
(Updater) Implement 'Update Assets'
2015-06-24 16:17:29 +02:00
twinaphex
13a2336231
(Core Updater) Start adding the other update options - stub
2015-06-24 15:12:30 +02:00
twinaphex
272063b351
(Core download) Now removes ZIP file after extracting archive
2015-06-24 14:44:21 +02:00
twinaphex
5d576ce61d
(task_database.c) Use fill_pathname_join_delim in task_database.c
2015-06-22 19:51:13 +02:00
twinaphex
5f67c53e6a
Use fill_short_pathname_representation
2015-06-22 19:39:56 +02:00
twinaphex
2057e0f1d7
(task_file_transfer.c) Cleanup
2015-06-19 07:00:16 +02:00
Jools Wills
83efc830e4
fix compilation with --disable-threads
...
fixes this error
tasks/task_overlay.c: In function ‘rarch_main_data_overlay_iterate’:
tasks/task_overlay.c:92:1: error: label at end of compound statement
2015-06-17 20:18:15 +01:00
twinaphex
b08c399d3b
(task_database.c) Fix some warnings
2015-06-15 22:48:41 +02:00
twinaphex
a86977de3a
(tasks) Use hashes
2015-06-14 17:11:48 +02:00
twinaphex
25372dfb56
(task_database.c) Refactor to not use strcmp
2015-06-14 16:59:38 +02:00
Higor Eurípedes
dba40157e3
(task_file_transfer.c) Attempt to fix rpng_nbio leak
2015-06-12 18:21:11 -03:00
twinaphex
a10cdfa8b1
(tasks) Cleanups
2015-06-12 22:37:06 +02:00
Higor Eurípedes
85800a81b6
(task_database.c) Use a query for faster CRC scanning
2015-06-10 14:51:26 -03:00
Higor Eurípedes
4d23fd211c
(libretro-db) Store CRC32 as uint32_t
2015-06-09 20:21:14 -03:00
twinaphex
b321c38d62
(task_database.c) If 0 out some excessive logging
2015-06-09 21:10:57 +02:00
twinaphex
9487def760
(task_database.c) We can now scan individual files
2015-06-09 19:38:51 +02:00
Twinaphex
ba0e25dd88
Rename database_info_init to database_info_dir_init
2015-06-09 18:53:18 +02:00
twinaphex
29e3f5ff66
Expand playlist format - rename it to 'lpl'
2015-06-08 23:38:03 +02:00
twinaphex
2cfa890a58
Move code over to task_http.c
2015-06-08 11:10:12 +02:00
twinaphex
1b67864a3b
Change menu_driver_load_background to menu_driver_load_image
2015-06-04 10:39:48 +02:00
twinaphex
959fd621a5
Create cb_menu_boxart
2015-06-04 10:02:43 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
twinaphex
4a37c4e020
Remove duplicate strcasestr
2015-06-02 16:49:35 +02:00
twinaphex
0a6be4c82e
(task_database.c) Fix database_info_iterate_start for Windows
2015-05-28 08:57:50 +02:00
twinaphex
fe5880355d
database_info_list_iterate_next - set db_state->info to NULL
...
after freeing
2015-05-28 02:55:39 +02:00
twinaphex
8bde46deb9
Free db_state->info first in database_info_list_iterate_new
2015-05-28 01:25:42 +02:00
twinaphex
0e23908b78
(Task database) Should fix ZIP playlist scanning
2015-05-27 07:23:09 +02:00
twinaphex
65b8b2e0cb
(Database dir scanning) Can now add ZIP entry to collection
2015-05-27 04:42:22 +02:00
twinaphex
d72df8492b
(Task database) Compare first entry of ZIP file
2015-05-27 03:23:27 +02:00
twinaphex
aa56b8e1e3
(Task database) Start using zlib_parse_file_iterate in task_database.c
2015-05-27 01:36:15 +02:00
twinaphex
d33ee0ca90
(task_database.c) Update TODO notes
2015-05-26 09:04:57 +02:00
twinaphex
c94e29ed02
Create rarch_strcasestr
2015-05-26 02:31:29 +02:00
twinaphex
d275f8dd8f
Database dir scanning now creates 'rpl' (retroarch playlist) files
2015-05-26 00:25:07 +02:00
twinaphex
8fb8887c34
Create new playlist format
2015-05-26 00:12:49 +02:00
twinaphex
e05c0ab4f4
Set 'display name' to crc
2015-05-25 21:39:50 +02:00
twinaphex
350a33a4ae
Start implementing database_info_list_iterate_found_match
2015-05-25 18:46:36 +02:00
Twinaphex
1a85dfe60a
(Database) Remove some unused variables
2015-05-25 10:04:54 +02:00
twinaphex
0242b38c12
(task_database.c) Cleanups
2015-05-25 07:54:44 +02:00
twinaphex
23299eb74d
(task_database.c) Do string compare of CRC
2015-05-25 07:34:42 +02:00
twinaphex
0f58ad0e4e
(Task database) Experimental database scanning
2015-05-25 07:05:00 +02:00
twinaphex
76e1c2d965
database_info_iterate_crc_lookup - cleanup
2015-05-25 05:36:23 +02:00
twinaphex
32412ab918
Simplify rarch_main_data_db_cleanup_state
2015-05-25 03:46:03 +02:00
twinaphex
befa2f111c
Create database_info_iterate_crc_lookup
2015-05-25 03:20:43 +02:00
twinaphex
3c6dd65208
Pass db_state to zlib_parse_file
2015-05-24 08:06:29 +02:00
twinaphex
566eb771ba
Refactor db_state code
2015-05-24 08:04:13 +02:00
twinaphex
07019909f3
(task_database.c) Start creating directory list of database entries
...
to browse over
2015-05-24 07:36:30 +02:00
twinaphex
a7c124e68f
Add DATABASE_STATUS_ITERATE_BEGIN
2015-05-24 06:14:44 +02:00
twinaphex
344fe41c53
Create static function rarch_main_data_db_cleanup
2015-05-23 22:52:22 +02:00
twinaphex
c4becceb96
Refactor database_info_iterate
2015-05-23 22:46:23 +02:00
twinaphex
0f4d71477e
Dehardcode database_info_poll
2015-05-23 22:07:59 +02:00
twinaphex
3de904cb78
Create DATABASE_STATUS_ITERATE_START
2015-05-23 21:56:29 +02:00
twinaphex
62de3336f5
(task_database.c) Call snprintf just once
2015-05-23 21:18:59 +02:00
twinaphex
9102ae125b
Call rarch_main_msg_queue_push just once
2015-05-23 21:17:32 +02:00
twinaphex
938edba8b3
Add 'Scanning' message to ZIP file
2015-05-23 21:07:45 +02:00
twinaphex
74bea2c6e2
Add DATABASE_STATUS_ITERATE_NEXT
2015-05-23 20:53:43 +02:00
twinaphex
7696d55047
(Database) cleanup
2015-05-23 19:18:56 +02:00
twinaphex
e5e9e80cfb
Reimplement MENU_ACTION_TESTx
2015-05-23 18:45:58 +02:00
twinaphex
e8691eb4d6
Move db.handle to runloop_data.h
2015-05-23 18:13:23 +02:00
twinaphex
ba6c563b83
(task_database) Small cleanup
2015-05-23 18:08:42 +02:00
twinaphex
5bdbe5a3b0
(Data runloop) Cleanups
2015-05-23 17:16:19 +02:00
twinaphex
1535f7d1c2
(Database) Cleanups
2015-05-23 16:41:33 +02:00
twinaphex
433b19d6b7
Rename 'rdl' references
2015-05-22 00:29:16 +02:00
twinaphex
3c5b83cf08
(360) Build fixes
2015-05-09 18:12:15 +02:00
twinaphex
049e570720
(Android) Build fix
2015-05-05 20:17:54 +02:00
Twinaphex
25a9611596
Remove unused variable
2015-05-05 20:10:48 +02:00
twinaphex
02d429b2dd
(task_database.c) Small cleanup
2015-05-05 19:13:21 +02:00
Twinaphex
617e232850
Prevent implicit declaration warning
2015-05-05 18:49:14 +02:00
twinaphex
bd4267dc59
(Database) Cleanups
2015-05-05 18:43:51 +02:00
twinaphex
2bb30e979d
(Tasks) Buildfix
2015-05-05 18:34:48 +02:00
Twinaphex
d5e23012f1
(Data runloop) Split up overlay task code to tasks/task_overlay.c
2015-05-05 18:16:09 +02:00
Twinaphex
8c75fd3530
Split up database runloop data code to tasks/task_database.c
2015-05-05 18:05:59 +02:00
Twinaphex
a04debf7c5
(Tasks/data runloop) Move code to task_file_transfer.c
2015-05-05 17:58:37 +02:00
Twinaphex
684a0555ed
Move code to tasks/task_http.c
2015-05-05 17:36:58 +02:00
Twinaphex
54550912f5
(Runloop data) Start rearranging code
2015-05-05 09:50:00 +02:00