Commit graph

15927 commits

Author SHA1 Message Date
Solomon Peachy
a430e275dd Fix lua compile error on most targets, introduced in 8d77ec8
Change-Id: I217f78a9e348a18552563c6c3b235c9aed956f54
2019-08-08 15:09:04 +02:00
William Wilgus
8d77ec88a5 lua LCD fix
forgot to set new size after realloc

forgot to set sizelineinfo to 0 after free

Change-Id: Iaf7533aafaba1e2abf9599c9e1d0b75d913a8c36
2019-08-08 07:36:04 -05:00
William Wilgus
d61ea6c5ee lua LCD (Lua Compact Debug) patch
LCD developed 9/2015 by Terry Ellison

 We've already discarded the ldebug module from lua
 it only makes sense to discard the debug info as well
 adds 1.5 K to the binary
 saves 8 Kb on the base state
 once scripts start getting called i've seen 10-50Kb savings but it all depends on
 what exactly you are running

Change-Id: Ibb74f344df1c4c96380ec6c98b010a810e9ae9cc
2019-08-08 07:11:30 +02:00
Franklin Wei
1dabca6c26 sdl: document some pointer voodoo
This was lifted straight from pictureflow...

Change-Id: Ie09184390e6fcea007e7daea001f075de307f878
2019-08-08 00:10:34 -04:00
Solomon Peachy
cd77d9283f Further lanuage tweaks:
- Corrected X3 mSD slot voices
 - Synchronized English-US
 - Synchronized Russian

Change-Id: If0dffc7b06b5434a318342856e101d997a91b861
2019-08-07 20:07:27 +02:00
Solomon Peachy
4b12b685b9 Further updates to the Russian voiced strings, by Igor Poretsky
(These had to be fixed up by hand)

Change-Id: I951d1bcf50af03e6a313e5636f8594c285656507
2019-08-07 17:23:18 +02:00
Solomon Peachy
5ace14b55d Major update to Russian Translation, by Igor Poretsky
(Not all chunks made it due to dependencies on non-merged stuff)

Change-Id: I370ecba4ac4d4009e65b2829c32dfc3bde00220f
2019-08-07 17:01:51 +02:00
Solomon Peachy
b1f2c795a6 Speech feedback in the pictureflow plugin
Patch by Igor Poretsky

Change-Id: I99d789e43d1093c69b4d76f58704303d3c1b3c80
2019-08-07 09:50:27 -04:00
Solomon Peachy
2ebb8da275 Mikmod plugin improvements
- Improved sound quality (use 44.1KHz)
 - Conventional mixer is now used
 - Playback is performed in a separate thread
 - Speech feedback in menus

Patch by Igor Poretsky

Change-Id: I13baa224cefd67aefe6d62b988971bfbd421757d
2019-08-07 09:48:15 -04:00
Solomon Peachy
e6b03ffa82 Respect age when freeing thumbnails from clip cache.
Otherwise they could get freed while queued.

Patch by Igor Poretsky

Change-Id: I436b074d81a85cfeb68a07a17320a3c9c0a43e1e
2019-08-06 13:37:20 +02:00
Solomon Peachy
2d70fdcd8c Improved reliability of runtime accounting and speaking it.
Change-Id: I6f0fb907e0378487cec387a2cfd3a20b9a596c4e
2019-08-06 04:47:20 +02:00
Solomon Peachy
4c481d2b0e Fix some bad strings in two language files.
Patch by Igor Poretsky

Change-Id: Id46eb8829eb343db1bb0e936363e71fcc071fd97
2019-08-06 04:45:56 +02:00
William Wilgus
951a614852 lua fix lua_close on os.exit(0)
Change-Id: Ib225ecf9ea64c95e438c4114b23239c118ab19a2
2019-08-05 21:25:01 -05:00
William Wilgus
1b41e6ec43 lua fix crashes EGC failure to lock stack in concat
Change-Id: I980637b1d8aa91d7ac0ed71fd0e7d21bda7876c4
2019-08-05 21:20:30 -05:00
Solomon Peachy
305ec1211f Synchronize the english-US translation, including missing voice strings.
Change-Id: I9e5841ff0ce71f513feb2ce84489b71787d215e9
2019-08-06 03:17:08 +02:00
Solomon Peachy
0544d974f9 Fix rockbox info screen on non-MULTIVOLUME targets
Regression introduced in c3a775c05b

Change-Id: Idd069d6325e3403b4de445856184758d3f8230a5
2019-08-05 21:15:40 -04:00
Solomon Peachy
ed724fecb1 Midiplay plugin ehancements
- Improved robustness
 - Improved sound quality
 - Use mixer and DSP

Patch by Igor Poretsky

Change-Id: I6fa617158cbaa53ae842295cdbdbe3a478e49ded
2019-08-05 20:48:40 +02:00
Solomon Peachy
eea5bfc9ae Two more warning fixes for the Chinese (Traditional) translation.
Change-Id: I646ee9ee8ebe9efc64ff9c7551cddf093579d9a0
2019-08-05 16:12:11 +02:00
Solomon Peachy
9c8bccbc39 Fix up warnings introduced by Traditional Chinese Language update.
I think I got them all.

Change-Id: If3a2e0438c92472ec8aaf86f4341dc5fd7412e2d
2019-08-05 15:18:01 +02:00
Solomon Peachy
ca5bb32d6c FS#13071: Updated Chinese (Traditional) Translation
Courtesy of Guo Zhong Kai

Change-Id: Ic117fa1f01ea507c970521f54b130a0f47301d89
2019-08-05 14:17:56 +02:00
Solomon Peachy
8143e4437b Speech Feedback improvements on the Quickscreen
Patch by Igor Poretsky

Change-Id: I1bb94965cb18efaa0787d7780f6cf22814231144
2019-08-05 05:01:29 +02:00
Solomon Peachy
3b7ae5e06b Improved robustness in talk code
Patch by Igor Poretsky

Change-Id: I5c0dcc693b647c7573379e33406a7b9d4b192725
2019-08-05 05:01:11 +02:00
Solomon Peachy
701bf06b26 Voice enable properties plugin
Patch by Igor Poretsky
Updated by Solomon Peachy

Change-Id: Ia2adf4a65723b08d6c438f836e3e811cba3dced0
2019-08-05 04:10:25 +02:00
Solomon Peachy
2a737d3e6f Fix stack overflow issues in properties plugin
Patch by Igor Poretsky
Updated by Solomon Peachy

Change-Id: I6b90845712ff92ce7b08b41e5ec92eb33faeff50
2019-08-05 03:25:17 +02:00
Solomon Peachy
40da2f7ba7 Speech enabled main menu config plugin
Patch by Igor Poretsky

Change-Id: Idffba2b1f1d225fc9278dcfab6a728fca5afe81d
2019-08-05 02:33:37 +02:00
Solomon Peachy
5e05484fe8 Synchronize english-us language files
Change-Id: I654e6fbd879ac7d709fc85a4758d71312eeb0cc5
2019-08-05 00:10:04 +02:00
Solomon Peachy
4d5dfab3ee Several minor voice string corrections.
Patch by Igor Poretsky

Change-Id: If8d0174e37254e9f1c24c4e0f7f29876e7f29906
2019-08-04 23:10:01 +02:00
Franklin Wei
08fd69c347 sdl: fall back to minimum supported sample rate if 22 kHz is not supported
Fixes too-fast audio playback on devices that don't support 22 kHz.

Change-Id: I78d4934bfd40f69c0d7bc9e8021df3f4edf0a9fb
2019-08-04 22:57:58 +02:00
Solomon Peachy
4ad76652ef Speech feedback in mpegplayer menus
Patch by Igor Poretsky

Change-Id: Idc6920e17be6537557f2b1cf00f7e559e30b45e8
2019-08-04 22:47:00 +02:00
Franklin Wei
7234de58ae sdl: don't set alignment trap if < ARMv5
This should fix crashes on ARM7TDMI as reported by foolsh.

Change-Id: I9aaf6196837d284a67a9e2b0edc72ecd644fd59f
2019-08-04 20:59:30 +02:00
William Wilgus
448b97a888 fix recording.c file split time in seconds not minutes
FS#13173

Change-Id: Icae45bf21c3470e04e7d99355a09d016d204d574
2019-08-04 13:38:38 -05:00
William Wilgus
d1f349bf77 lua optimize print include, fix draw_poly
Change-Id: Ibb530cfa63681727be518173404952e897c9d297
2019-08-04 17:54:03 +02:00
William Wilgus
f85df30e3e lua add rlimg.lua example script split large includes to separate files
Change-Id: I67cac5bc4ce5525ab30abf9443f6cc1a33190512
2019-08-04 16:57:02 +02:00
Solomon Peachy
4209c09770 Fix warning on Fuze+ introduced by a09d4adb
Change-Id: Ie39ef6f32578ecced81db9f04c49eeb9d58a128f
2019-08-03 21:25:02 -04:00
Moshe Piekarski
9d79cefc91 Fuze+ hotkeys and quickscreen
Add bottom left as quickscreen and bottom right as hotkey acroos the
board for fuze+. Meant as a
stopgap until gesture support becomes good enough that it is unnecessary

Also adds my name to CREDITS

Change-Id: If1729b7d53d967081b6d97a9a49cd66312c96ed4
2019-08-04 01:56:51 +02:00
Solomon Peachy
a18803af27 Creative Zen keymap fixes:
- Assigned hotkey to long back
 - Assigned quickscreen invocation to long menu
 - Fixed pitchscreen control
 - Assigned long presses in pitchscreen

Patch by Igor Poretsky

Change-Id: I56ca8ea046ba564356f0a178a724182df88a3ac1
2019-08-04 00:41:30 +02:00
Solomon Peachy
51d47c53f7 Pitchscreen keymap fixes for Sony NWZ targets
- Pitchscreen control fixed
  - Long press assigned

Patch by Igor Poretsky

Change-Id: Ic05ad0556b02de4c994ffc7383f1582d0b9619f4
2019-08-04 00:24:38 +02:00
Solomon Peachy
e73ef014cd Correct speech feedback for volume limit setting
Patch by Igor Poretsky

Change-Id: I514785b22701395ea1505cde2606ea59898ea6df
2019-08-03 23:24:10 +02:00
Franklin Wei
827c881583 quake: update readme
Change-Id: Ic9ec250ad9c58dad33b703f0874c0307962fd199
2019-08-03 12:30:40 -04:00
Franklin Wei
7ba2ef566e sdl: use mutex in printf()
This prevents lines of output being overwritten by different threads.

Change-Id: I24cee52238b53c8a4b2536e082bb4bcd103d8d60
2019-08-03 05:05:35 +02:00
Franklin Wei
fee68fc612 quake: synchronize Mod_LoadModel and S_LoadSound
This is not a very pretty fix, but code that doesn't crash is better than
code that crashes... "If it runs, it's done."

Change-Id: Ia1d0c537e5e5e60fb80cf7d7de2332e1c712806f
2019-08-03 05:05:05 +02:00
William Wilgus
9d2af8777f lua update tagnav.lua with reload menu and bug fixes
Change-Id: I0e7364a3432bf867cb368c131bf83643115f9d0b
2019-08-02 05:16:43 +02:00
William Wilgus
501404d703 tagtree add %reload to allow hot reloading of tagnavi config
adds (static) function tagtree_unload
 frees all buflib allocations for tagtree

adds command %reload that allows a new tagnavi file to be loaded
without device restart
use it like so..
"Reload..." -> %reload

Allocations are now checked for validity (probably a good idea anyway)

Change-Id: I2b4b9b7e253f97f3e6575e0ea7a92905e004d47f
2019-08-02 05:16:16 +02:00
Solomon Peachy
e6fae44520 xduoox3: Use correct LANG_DISK_NAME strings.
Change-Id: Ic2e16f3e67e080dc53ce7a5f994fbaeaa15d10bc
2019-08-01 15:18:14 +02:00
Solomon Peachy
c3a775c05b Make info screen properly multi-volume aware.
It will now display a line for every volume that's backed by a real drive.

Change-Id: I8fec9018729fc1b0d4f4322cd4421ce7fa945e75
2019-08-01 15:17:40 +02:00
Vencislav Atanasov
722ddcf6ba sdl: Fixes for the SDL apps, so they support building simulator on Windows
Change-Id: I277d391482a80e5bf9dd8049cd3b78c5cae7205e
2019-07-31 19:34:18 +02:00
Franklin Wei
94109a9506 quake: fix file loading errors
Forgot a return statement in Sys_FileRead (which slipped by since I've made
the questionable decision to disable all warnings...)

Change-Id: Ia0f3da52b43765b8e0e9953893ac7957ec2f6c2e
2019-07-30 03:44:43 +02:00
Franklin Wei
5e0bd5bfc0 quake: add notification upon strange error
For some reason a NULL pointer creeps in, on the simulator only, it seems.
This makes sure that if it happens on target we'll know about it.

Change-Id: I7a5bc9dd3ef71f28d58d0d456d23007dc0d49ce3
2019-07-30 03:44:25 +02:00
Franklin Wei
caee6c578d quake: fix race condition
COM_LoadStackFile was not thread-safe since it relied on a global variable
to pass the loadbuf parameter to COM_LoadFile. This was causing mysterious
crashes when model loading and audio mixing were happening simultaneously.

Change-Id: I505c5ef0ed49d0c4aa4b11cfed05647c75b5b40d
2019-07-30 03:44:09 +02:00
Franklin Wei
0b23348610 sdl: forward-declare fscanf_wrapper
Silences a few warnings (if you enable them).

Change-Id: Id9a9f4c688742c13ee3eb0777c40b4d4edcda224
2019-07-30 03:43:57 +02:00