Commit graph

2002 commits

Author SHA1 Message Date
Solomon Peachy
55eb1c54eb FS#7704 - Talk support for plugins
Original patch by Mario Lang
Heavily updated by Igor Poretsky
Further updated by myself

  This patch breaks binary API compatibility by placing the new
  functions where they make the most logical sense. IMO this is
  the better approach to take given the scope of the changes needed
  for talk support.

  Since binary API is changing, the patch also moves some other
  functions around to more logical locations.

  As well as voice support in plugins, this patch voice-enables several
  simple plugins.  There will be follow-up patches for many plugins that
  build on this one.

Change-Id: I18070c06e77e8a3c016c2eb6b6c5dbe6633b9b54
2019-07-20 08:48:35 +02:00
eevan78
03e6b17a28 Updated Serbian translation
Change-Id: I93477548ddd92a5390ac2a828b4262e3bb516f4b
2019-07-15 14:09:25 +02:00
Solomon Peachy
fd9d4a889b Add speech feedback in pitchscreen
Patch by Igor Poretsky

Change-Id: I8828cefdb3346a25071fba0afff2c9d3bca440a1
2019-02-03 20:09:59 -05:00
Solomon Peachy
0a6cad736f FS#12353: For car adapter mode, make delay before resuming configurable
Original patch by Stanislav Chizhik
Udpated by Igor Poretsky & myself

Change-Id: I472d4852ac25885658245f077723e4c98b9ad9b8
2019-02-03 23:36:57 +01:00
Solomon Peachy
fe95127c45 FS6338: Playlist playing time
Originally by Stephane Doyon.
Updated by Alex Wallis, Igor Poretsky, and myself.

Change-Id: I15a06f7774c886cefd9c2cb93230d67de3e5f9a9
2019-01-31 16:47:52 +01:00
Solomon Peachy
f7a2c72042 FS#13169: Initial Flemish translation from Nathan Follens
Change-Id: I80607bc3ac0887b2cd28dbf2aaa487f8829a7810
2019-01-25 14:57:45 -05:00
Solomon Peachy
b28709f3c1 FS#13168: Updated Dutch translation from Nathan Follens
Change-Id: If36420329cbb67dc5b40b10bcd03e295cf0418f6
2019-01-25 14:55:48 -05:00
Solomon Peachy
f3b532a92a FS#13170: Updated Greek translation from Constantine Mountantonakis
Change-Id: Icfe116d72fd7c73d2ec1b18ffcc294052b7d5159
2019-01-24 01:45:18 +01:00
Solomon Peachy
d4942cc74c Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov)
Ported, rebased, and cleaned up by myself.

Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
2019-01-02 08:10:01 -05:00
Solomon Peachy
af9459a799 Updated Czech translation
Taken from Igor Poretsky's tree

Change-Id: Ia0b5644849b02a92294beb04d3e361388d98c7f5
2019-01-01 23:30:45 -05:00
Solomon Peachy
c45016dd88 Clean up a wanring with the updated turkish translation on ZEN targets.
Change-Id: I7dcbd00a084e05e15ba09c3b65cabd33ac71e7f4
2018-12-24 14:49:09 -05:00
Solomon Peachy
40b6d025c0 FS#13043: Updated Hungarian translation
(Thanks to Gergely Békési)

Change-Id: Ib56417794cbcd693324419710c370779b2fcf954
2018-12-24 12:01:32 -05:00
Solomon Peachy
ccf96833b0 FS#13144: Updated Dutch translation
(Thanks to Nathan Follens)

Change-Id: I9b000cf7e7294c3dc750a72577ca7c1d2f04e659
2018-12-24 11:53:37 -05:00
Solomon Peachy
2c94ad9c71 Credits: Add Roman Levkin-Taymenev
(Updated Russian Translation)

Change-Id: I88150c897d9facf566beff38e5a0c863d5256c0c
2018-12-24 11:53:33 -05:00
Solomon Peachy
d636c5e823 FS#13148: Considerably updated Turkish translation
(Thanks to Malik Safak)

Change-Id: I21339b331ad8c6ca975f23cd98041426acf8961f
2018-12-23 16:37:58 -05:00
Solomon Peachy
93f447a8ef FS13137: Update Polish translation
(Thanks, Adam Rak!)

Change-Id: I39aa0d9eb265827a5dcd05943a2c0abbb9f81fa8
2018-12-23 14:27:59 -05:00
Solomon Peachy
1ecc94e4c3 FS#13162: Update French translation
(Thanks Guinness)

Change-Id: Ia978b26744ba7d97393d1b87b6704690e39e8ccd
2018-12-23 14:22:08 -05:00
Solomon Peachy
206a644bf7 FS#13165: Updated Russian translation
(Thanks, Roman!)

Change-Id: I270ed16fa899d1ec69dddb1d783e5c37b08af838
2018-12-23 14:20:38 -05:00
Solomon Peachy
6416c22b45 Czech translation update from Marek Salaba
Change-Id: I45304719e3c5f9c6e9aa92347d1ba9b483431a54
2018-12-22 20:08:16 -05:00
William Wilgus
a06d9c85f7 Auto-Ranging Time Formatting For Menus (hh:mm:ss:mss)
Unifies time formatting in settings_list.c allows time format to
display as HH:MM:SS.MSS or any consecutive combination thereof
(hh:mm:ss, mm:ss, mm:ss.mss, ss.mss, hh, mm, ss ,mss)
works in INT and TABLE settings with the addition of flag 'F_TIME_SETTING'

Time is auto-ranged dependent on value

Adds talk_time_intervals to allow time values to be spoken similar to
display format:  x Hours, x Minutes, x Seconds, x Milliseconds

Table lookups merged or removed from recording, clip meter and lcd timeout
-String_Choice replaced with TABLE_SETTING or INT_SETTING for these
functions as well, cleaned-up cfg_vals that get saved to cfgfile

RTL Languages ARE supported

Negative values ARE supported

Backlight on/off are now Always and Never to share formatter with LCD
Timeout

Added flag to allow ranged units to be locked to a minimum index

Added flag to allow leading zero to be supressed from the largest unit

merged talk_time_unit() and talk_time_intervals()

optimized time_split()

optimized format_time_auto()

Backlight time-out list same as original

Change-Id: I59027c62d3f2956bd16fdcc1a48b2ac32c084abd
2018-12-22 12:27:21 -06:00
Solomon Peachy
622f3f2497 Synchronize Slovak language
(Thank you, Peter!)

Change-Id: I90495070e8f2f5118497f7fbce5e5112ba690777
2018-12-16 16:56:35 -05:00
Solomon Peachy
4adad0bc1f FS#6323: Speech for ID3 viewer, playlist catalog and playlist viewer
Modified from original ticket, Taken from Igor Poretsky's tree, and
further modified by myself to incorporate feedback.

Change-Id: Ibc2180e52af76890b1448d23f79386fd0f88f709
2018-12-15 18:00:23 +01:00
Solomon Peachy
bea9cf7b1e FS11473: Add bookmarking option: one per track.
Modified version from ticket, taken from Igor Poretsky's tree, and
further modified to incorporate feedback.

Change-Id: I9284497d53a0247a51739d29fdc1db5fbbebfadc
2018-12-14 14:03:12 +01:00
William Wilgus
62a5ed49cc Fix possible truncation misc.c->output_dyn_value + use Kibytes
output_dyn_value now requires the count for number of units

Binary scale now shows Kibibytes instead of kilobytes (g#1742)

Fixes output for negative values as well

Change-Id: I8aa896860e97d2453fa35069e2dfe1caac60109f
2018-12-09 22:54:55 -06:00
William Wilgus
d8bd356e56 Revert "As3525 v1/v2 Add power savings menu"
This reverts commit 6f0320a953.

Change-Id: I7425d422a4a0af7a49e9194cfe0bb55d431bc401
2018-07-28 17:35:07 +02:00
William Wilgus
6f0320a953 As3525 v1/v2 Add power savings menu
Allow user to select cpu undervolt

There have been quite a few issues across the SANSA AMS line related
to CPU undervolting while most players show greatly increased runtime
some crash.
Rather than constanly upping the voltage we now have a
setting with a safe value for all players and the option for lower voltages

I plan to add a few other options here later such as disk
timings and maybe some other clocks/experimental settings

Added: Disk Low speed option for AS3525v2 devices cuts
	frequency to 12 MHz from 24 MHz
Added: Disk Low speed option for AS3525v1 devices cuts
        frequency to 15.5 MHz from 31 MHz

Added: I2c Low Speed AS3525 devices, should be bigger improvement for v1 devices

Fixed: Debug menu for AS3525v2 No SDSLOT frequency,
	Showed IDE freq though it is unused

Added: DBOP and SSP underclocking affects display on v1/v2 respectively

Fixed: debug menu now has SSP frequency, and SSP_CPSR

Update: made settings menu more generic

Update: cleaned up code

Added: Clip v1 & Fuze v1 didn't have HAVE_ADJUSTABLE_CPU_VOLTAGE.
	not sure why but,  waiting on testing to confirm

Added: C200v2 and E200v2 devices and HAVE_ADJUSTABLE_CPU_VOLTAGE.

Fixed: v1 devices don't like display timing set lower (dbop)
       v1 devices don't have a divider set for ssp (causes divide by 0)

Fixed: ClipZip display lags with Max SSP divider changed from 0xFE to 0x32

Fixed: v1 devices didn't work properly with highspeed sd cards
	Added code from http://gerrit.rockbox.org/r/#/c/1704/
	Added powersave and IDE interface enable/disable

Added: V2 devices now have powersave enabled on sd interface

Update: cleaned up code, lang defines, added manual entries

Update ssp clock mechanism added calculated ssp divider to clipzip

Update turn display clock off when clip+ turns off display

Fixed: clipzip wrong register for SSP clock

Change-Id: I04137682243be92f0f8d8bf1cfa54fbb1965559b
TODO: add other players?
2018-07-27 23:56:32 +02:00
Amaury Pouly
13364c5525 Fix make race conditions reharding lang.h
The bug is due to a stupid make misfeature. The article [1] contains much more
information but in a nutshell, the following code:

a b: c
	bla

is equivalent to:

a: c
	bla
b: c
	bla

This is bad because in parallel runs (make -j typically), "bla" can be run
TWICE and even worse, twice in PARALLEL. Obviously the result will be
completely unexpected. This is a real bummer because on the other hand,
the following code:

%.c %.h: %:in
	bla

actually expresses the fact that bla produces two files. For some reasons,
pattern rules work differently from implicit rules.

This commit attempts to fix the problem with lang.h by rewriting (simplified):

lang.c lang.h: lang.in
	genlang

as

lang.h: lang.in
	genlang
lang.c: lang.h

This works (it correctly expresses the dependency chain and ensures genlang runs
once) but as one drawback: if one manually removes lang.c, then genlang will not
re-run since the second rule does nothing. This is minor drawback since no one
ever removes lang.c manually and "clean" removes lang.h which triggers a rebuild.

[1]: https://www.gnu.org/software/automake/manual/html_node/Multiple-Outputs.html

Change-Id: Ic0bf7c7c203dc599b00fde457946d2316c70474e
2017-09-24 23:32:47 +02:00
Amaury Pouly
acc3ef3b6f Print "GEN lang.h" when generated language header.
Hopefully this will help narrow down the problem with LANG_* error message,
I have the feeling that lang.h is not generated in time but it's very hard to
reproduce.

Change-Id: I02b6c98ed9c7e7168fad10dcf1142e307fbc6093
2017-09-22 21:06:30 +02:00
Johannes Rauh
c1097cc847 Rename "Selective Backlight" to "Backlight Exemptions" and add German translation
Change-Id: I1ddb78bd267372617370cc36910fce9980b907cd

Calling the menu entry "Backlight Exemptions" as this better describes the functionality.
Adding the German translation.
2017-09-20 21:17:39 +02:00
Frank Gevaerts
cee7f5c793 Fix some warnings due to the previous commit
Change-Id: I2858a1f0f730be732c9fff64eabaf3866486a686
2017-09-20 21:17:07 +02:00
Frank Gevaerts
c2698c67f3 Update Greek, Swedish, Italian and Serbian.
Thanks to Constantine Mountantonakis, Jonatan Nyberg, Alessandro Stoppani and Ivan Pesic
(FS#13130, FS#13124, FS#13126, FS#13112)

Change-Id: I0581c38b0dab75b1192278ec84b973250b5c3e69
2017-09-20 20:27:00 +02:00
Franklin Wei
34dd278758 Add missing strings Italian translation
Should make us all green once again.

Change-Id: Icee92fa0a0e214a0e905e4df30739e22e623733e
2017-09-01 20:33:21 -04:00
Michael Giacomelli
115806f273 Commit FS#13111 by Sebastiano Pistore.
Updates Italian translation.

Change-Id: I6d2a6f133c00626e3a7736a0e4600979c34036bd
2017-05-02 03:58:39 +02:00
William Wilgus
dc87e9e9f3 Selective Backlight/Advanced Softlock - Selective actions based on context
Selective backlight allows the user to choose actions that will not
enable the backlight when pressed.

Advanced softlock allows user to choose actions that  will not be
blocked by screenlock on devices without a hold button.

Both only occur in FM and WPS Contexts.

Update:
Back from the dead
-Cleaned up code, removed unnecessary calls, re-arranged last filter action
  timeout conditional to work in case last_filtered_action_tick was never set
-Added entries to the manual
-Fixed back button on some menus not activating backlight
-Made menus more intuitive, no actions selected now changes menu item to off.
-Added talk fuctionality.
-Added option to disable selective backlight while on external power.
-Rewrote backlight and softlock handling code to fix issue with scrollwheels
-Menu changed to have toggle(yes/no) and settings
-Optimized selective actions lookup
-Added option to disable notification of 'buttons locked' while softlocked
-Removed uneeded code, consolidated action lookup to single function
-Fixed incorrect name on selective softlock menu
-Added option to disable touch on touchscreen devices
-Fixed backlight on original screenlock without selective screenlock active
-Added text selection in mask_select for when show_icons is off
-Fixed voice in mask_select to speak if voice is defined instead of spelling
-Added more lang defines (play skip seek)
-Added option to disable unknown keys turning on backlight
-Fixed Conditional argument In wrong place causing players without
	backlight to fail to build
-Fixed Disable Unknown blocking detection of context change
-Fixed canceling menu didn't update new settings
-Added Autolock on backlight off
-Removed backlight_on_force from backlight.c, Now sets ignore next to false
	and uses backlight_on
-Cleaned up autolock code added strings to lang file
-Fixed issue where rapid presses would bypass softlock
-Removed old softlock code, Cleaned selective actions code
-Changed menu to match existing RB menus
-Fixed Backlight_on_Hold blocked by backlight_ignore_next
-Fixed ignore_next for ipod
-Fixed bug allowing context with softlock to bypass selective backlight
-Changed mask_select to no longer prompt for changes to be saved
-Changed menu names
-Added ignore timeout to allow ipod scroll wheel to work properly and other
 players to still work properly, removed some previous code including
 ignore_event
-Increased ignore timeout to prevent sd card accesses from interrupting action
 code and turning on backlight
-Changed Unknown action to unmapped action in menu, changed handling code
-Removed unneeded logic and variables for handling unfiltered actions
-Reverted unmapped action code to previous functionality
-Added manual entries (thanks JohnB)
-Removed elusive unhandled unicode character from manual, changed formatting slightly

Actions:
Volume,Play,Seek,Skip

Extras:
Disable unmapped actions
Disable selective backlight on external power
Disable touch during softlock on touchscreen devices
Disable softlock notifications (power button still notifies)
Autolock on backlight off

Method:
Adds a function to ignore backlight on next call
 If selected action occurs backlight is forced on,
 Filter_first_keypress stays intact.

Selective softlock allows selected actions through, bypasses the normal
 softlock routine.

ToDo:
DONE

previous commit (#1) has attribution for folder_select.c which mask_select
is based from.

Change-Id: I08132ddcfd64c81751ef23b720f3ec6d68695fe4
2017-01-17 23:06:17 +01:00
Frank Gevaerts
45c6785e22 Attempt to fix dependencies for lang.h, lang_core.c and lang_core.o
This hopefully fixes occasional build failures

Change-Id: Iff79d2066d6421cca78cc3ecb6cb8db57351ab1f
2016-08-21 17:00:25 +02:00
Amaury Pouly
adaba2bc06 Update french translation, thanks to lebellium for spotting those.
Change-Id: I51499cda4351eae5a3f646d2ea4687c57925f909
2016-08-20 20:38:12 +01:00
Amaury Pouly
c7228de96a Update French translation.
Change-Id: I49ad1971cba574b12d82963ad8ffcc7ad63fccef
2016-08-20 14:49:27 +01:00
Peter Lecký
3db0363b78 FS#13079 - Slovak lang update
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>
2016-08-17 22:04:48 +02:00
Michael Giacomelli
9868da4978 German language update (FS#13078).
Change-Id: I0c7b872824597ef3fa6548a564582ff4ccad3116
2016-08-14 23:57:13 +02:00
Szymon Dziok
5aa15c4e09 Translate remaining polish strings.
Change-Id: Ib4f00ad39f9e8be2299103583839f3764b4d5e7f
2016-01-16 13:20:08 +01:00
Szymon Dziok
2790b33de2 Update polish translation.
Change-Id: I3d9db7b7a0207eacabe36754668958d7026732d9
2016-01-16 12:10:50 +01:00
Sebastian Leonhardt
a507bb2837 YH8xx,YH9xx: Keymap improvement
The main "innovation" in this patch are two "virtual buttons"
for the record switch on YH92x targets. When the switch state
changes, a single BUTTON_REC_SW_ON or .._OFF button event will
be generated. Thus keymap code can react on switching, but
not on the actual state of the switch.

Wherever sensible, the following user scheme is applied:
- use PLAY as confirm button
- use REW button or Long REW to exit
- use REC (YH820) or FFWD (YH92X) as modifier key for button combos

Change-Id: Ic8d1db9cc6869daed8dda98990dfdf7f6fd5d5a1
2015-11-15 23:46:39 +01:00
Åka Sikrom
f145660eff Norwegian language update (FS#13041)
Change-Id: Ie717c47a997c487c561bfe9bd2858de14cdc3665
2015-04-10 18:57:09 +02:00
Tiago Medeiros
32154bfc0b Portuguese language update (FS#13039)
Change-Id: Iab478310e35127818c0602ea2e8e2f4db9d7362a
2015-03-28 13:36:48 +01:00
Purling Nayuki
c39fe43b40 Update Simplified Chinese and Traditional Chinese translations
Change-Id: Ie368f82578bb29fd0a155dc420de0533892dbb49
2015-03-28 02:30:18 +08:00
Kostadin Kolev
726a2bd11e Bulgarian language update (FS#13035)
Change-Id: I69aca2653eb09fbac517852309b0d1438dc34b14
2015-03-04 17:20:19 +01:00
Torsten Schrainer
c4bf2e3cfd German language update (FS#13024)
Change-Id: Ic079929c0aebc06746d8a2221ac5db465c6de9b2
2015-02-22 13:40:34 +01:00
Stefan Moisei
a7fa25d928 Romanian language update (FS#13021)
Change-Id: I2938e77ba1a83ec46656156dd36ed5252aafeed7
2015-02-22 13:19:48 +01:00
Kostadin Kolev
089202f077 Bulgarian language update (FS#13017)
Change-Id: Ia0a5f06e0c787706e096bde91a1b3cacdf674e40
2015-02-22 13:18:31 +01:00
Jordi Prenafeta
56b5ad1870 Catalan language update (FS#13025)
Change-Id: I40d92fc70a3c7a380127ef8f08d32db560cec95a
2015-02-22 13:17:27 +01:00