Commit graph

1976 commits

Author SHA1 Message Date
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
Tiago Medeiros
a38eb4e3b1 Portuguese language update (FS#13001)
Change-Id: I679397cdd0285c1717e44e97700acdd829e3d7d2
2015-02-22 13:16:06 +01:00
Alessio Lenzi
93dd74a757 Italian language update (FS#12897)
Change-Id: Ifced5d933fa58294ceae531e83e526c5dc341690
2015-02-22 13:14:42 +01:00
Amaury Pouly
7d91f8a1a8 zen*: fix yes/no dialog string
Change-Id: I3d73027a9c8a8f885ffbc5cb28dd210ecf2f4285
2015-02-16 11:31:53 +01:00
Udo Schläpfer
95fdad5e28 iBasso DX50/DX90: User selectable USB mode.
Depends on http://gerrit.rockbox.org/r/#/c/1043/.

This patch adds a new setting in Settings -> General -> System: USB Mode.

Usable in Quickscreen and Shortcuts.

Possible settings are:
- Mass Storage: The default, on USB connect export the internal and external
drives as usual. Rockbox will exit gracefully in this case, since the internal
drive (/mnt/sdcard) is exported as mass storage device and Android prevents
Rockbox from continued execution.
- Charge Only: USB charge only, do not export the internal and external drives.
This will not close Rockbox.
- ADB: Enable the Android Debug Bridge. This will not close Rockbox.

Charge only and ADB are actually the same, since it is not yet established if
charge only is doable without adb and major hooks into Android.

German translation provided.

This may be genric for Android based devices but is only enabled
for iBasso Devices. Other maintainers may choose do adopt this.

Change-Id: I616247c29946c6595ebcf8f0c14b2410c9f0498b
2015-02-02 22:43:46 +01:00
Udo Schläpfer
040306a716 iBasso DX50/DX90: User selectable freq scaling governor.
Depends on http://gerrit.rockbox.org/r/#/c/1043/.

This patch adds a new setting in Settings -> General
-> System: Freq Scaling Governor

Usable in Quickscreen and Shortcuts.

Possible settings are:
- Conservative: Slow frequency switching.
- Ondemand or Interactive: Fast frequency switching.
- Powersave: Allways lowest frequency.
- Performance: Allways highest frequency.

German translation provided.

This may be genric for Android kernel based devices but is only enabled
for iBasso Devices. Other maintainers may choose do adopt this.

Change-Id: I10296f5be9586ad3a409105db0cd03682a30e9c1
2015-02-02 21:58:25 +01:00
Chiwen Chang
3ae0f32ac3 three new DSPs
perceptual bass enhancement
- a bbe-ish group delay corrction with Biophonic EQ boost.
- precut

auditory fatigue reduction
-reduce signal in frequency that may trigger temporary threshold shift

haas surround
-frequency between f(x1) and f(x2) is always bypassed.
-can apply to side only.

Change-Id: Icb6355ce9b1c99bf2c58c9385c3c411c0ae209d3
2015-01-19 19:34:01 +01:00
Szymon Dziok
b29d311623 Fix remaining errors in Polish translation.
Change-Id: I6517e0bcbf57b18f34138019fb54cd3da7728848
2014-11-10 14:09:11 +01:00
Szymon Dziok
ce88fa2f81 Polish translation update.
Change-Id: Ie1f223a23e2c0b4c4838d0cb146f65ee6b8e5f09
2014-11-10 12:34:47 +01:00
Ivan Pesic
ac928ed7a2 Update of the Serbian translation
Change-Id: If244aabe80414cc0202f3d18c0d0defc6b0c47bf
Reviewed-on: http://gerrit.rockbox.org/1016
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-10-18 05:29:47 +02:00
Amaury Pouly
8146b40e73 Fuze+: add a configurable deadzone area for touchpad buttons
To stop erroneous button presses, allow users to add a deadzone between
the button via the Settings > General > System menu > Touch Dead Zone.

The configuration was chosen this way: the touchpad has the same DPI
in both direction so the setting applies the same on both the X and Y
axis. The setting ranges from 0 to 100 and is internally multiplied by 2
giving a maximum deadzone of 2*100 = 200 around each button, which
account for 400 total (once around each button), effectively reducing
each virtual button from 1000x600 to 600x200 when using the maximum value.

Change-Id: I8683c63d2950200eb32d1dda0a00bbd92d83d5be
Reviewed-on: http://gerrit.rockbox.org/677
Reviewed-by: Benjamin Brown <foolshperson@gmail.com>
Tested: Benjamin Brown <foolshperson@gmail.com>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 11:21:54 +02:00
Kyryljan_Serhij
223038dfe0 Ukrainian language update
Change-Id: Ie06a1a1ecded66d1efb3beeee1aa7b69656715ef
Reviewed-on: http://gerrit.rockbox.org/921
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-08-24 00:06:34 +02:00
Kyryljan_Serhij
6536f1db3e Russian language update
Change-Id: I78af1702c1f60c2fc66ebeb738aed187f13906f3
Reviewed-on: http://gerrit.rockbox.org/903
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2014-08-05 19:09:36 +02:00
Peter Lecký
eaaff2680b Slovak language update
Change-Id: I3150dd77b3f5ce85d324ce3e9b6931c659dbde58
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>
2014-07-27 18:30:26 +02:00
Bertrik Sikken
a77c6b9d96 Update dutch (nederlands) translation
Change-Id: If0aa2a0d3a667e8d23020ad757e15f93d7599f0e
2014-06-18 21:59:49 +02:00
Dmitry Gamza
0cd03c2d20 fix russian translate
Change-Id: I616caf45db20c7ebdd989905f779d0e1c699e081
Reviewed-on: http://gerrit.rockbox.org/800
Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
2014-04-24 17:13:28 +02:00
Thomas Martitz
05a67d021c Touchscreen: Show a line separator in lists.
This patch adds a configurable line separator between list items, very
similar to lists in Android. Additionally, below the list item there is a
thicker line. It can be disabled in the settings. Its color can
be configured as well.

Remote and monochrome displays are explicitly unsupported. If there is desire
this can be changed but it doesn't seem useful to me.

Change-Id: I005313b0d8f5ecd15864bf20e66ea4e3390d8b7d
2014-03-03 15:14:16 +01:00
Dmitry Gamza
7f0b7b720a fix russian translate in 0f72c73b5b
Change-Id: I5237f4bdf49f2fb7d5a6e072f0e8a7bb58daa8de
Reviewed-on: http://gerrit.rockbox.org/759
Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
2014-02-17 07:00:19 +01:00
Jeremy Goodwin
0f72c73b5b FS#12949 - Diff to fill in incomplete Russian translation items.
Change-Id: I8f53d8811a3c6ee6507f1a81e3b007073909ca38
2014-02-11 20:52:28 +01:00
Lorenzo Miori
e876f4df6d Samsung YP-R1 target port
This is the basic port to the new target Samsung
YP-R1, which runs on a similar platform as YP-R0.
Port is usable, although there are still
some optimizations that have to be done.

Change-Id: If83a8e386369e413581753780c159026d9e41f04
2014-02-05 09:56:21 +01:00
Purling Nayuki
946c348e5c Fix incorrect language string reference in eq_menu.c
In most of the translations strings with SYSFONT in title is
translated. This leads to displaying problem in (at least) graphical
equalizer due to the lack of non-latin character support in the
built-in font.

Change-Id: I0d27a5358e4eb539d4247c84975d8501d7668836
Reviewed-on: http://gerrit.rockbox.org/727
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2014-01-26 16:26:00 +01:00
Purling Nayuki
335d708c99 Fix chinese-trad translation
Change-Id: Ifccb5c17d165d18e5076fb7ebc1af3cda3e2f778
Reviewed-on: http://gerrit.rockbox.org/726
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2014-01-16 11:26:03 +01:00
PurlingNayuki
f0bec023d9 Implement volume limiter feature
Add a "volume limit" parameter to the configuration file. The maximum
value of volume setting in sound menu will be limited to the same as
volume limit. Also each time when setvol() is excuted, Rockbox will
check if the global_settings.volume value larger than
global_settings.volume_limit. If larger, take the value of volume_limit
instead. The volume_limit argument shares the same maximum and minimum values
with volume argument, while taking the maximum volume as its default value.

Change-Id: I8ca9bc6ea6e617b48fc346aae5f2a0a1d259ae36
Reviewed-on: http://gerrit.rockbox.org/697
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
2014-01-13 11:32:03 +01:00
PurlingNayuki
7602f10423 Fix Chinese translation and missing "Attack Time" string
Change-Id: Ia4ae29bfe8739da93369a497a55680c7d445f730
Reviewed-on: http://gerrit.rockbox.org/700
Reviewed-by: Purling Nayuki <cyq.yzfl@gmail.com>
Tested: Purling Nayuki <cyq.yzfl@gmail.com>
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
2014-01-05 15:47:34 +01:00
Ryan Billing
d0918b98fa DSP Compressor: Sidechain, Exponential Atk/Rls
This is an improvement to the current compressor which I have added
to my own Sansa Fuze V2 build.  I am submitting here in case others
find it interesting.

Features added to the existing compressor:
Attack, Look-ahead, Sidechain Filtering.
Exponential attack and release characteristic response.

Benefits from adding missing features:
Attack:
Preserve perceived "brightness" of tone by letting onset transients
come through at a higher level than the rest of the compressed program
material.

Look-ahead:
With Attack comes clipping on the leading several cycles of a transient
onset.  With look-ahead function, this can be pre-emptively mitigated with
a slower gain change (less distortion).  Look-ahead limiting is implemented
to prevent clipping while keeping gain change ramp to an interval near 3ms
instead of instant attack.

The existing compressor implementation distorts the leading edge of a
transient by causing instant gain change, resulting in log() distortion.
This sounds "woofy" to me.

Exponential Attack/Release:
eMore natural sounding.  On attack, this is a true straight line of 10dB per
attack interval.  Release is a little different, however, sounds natural as
an analog compressor.

Sidechain Filtering:
Mild high-pass filter reduces response to low frequency onsets.  For example,
a hard kick drum is less likely to make the whole of the program material
appear to fade in and out.  Combined with a moderate attack time, such a
transient will ride through with minimal audible artifact.

Overall these changes make dynamic music sound more "open", more natural.  The
goal of a compressor is to make dyanamic music sound louder without necessarily
sounding as though it has been compressed.  I believe these changes come closer to this goal.

Enjoy.  If not, I am enjoying it

Change-Id: I664eace546c364b815b4dc9ed4a72849231a0eb2
Reviewed-on: http://gerrit.rockbox.org/626
Tested: Purling Nayuki <cyq.yzfl@gmail.com>
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2013-12-15 22:24:08 +01:00
Amaury Pouly
f67d9bd14f apps: factor depth3d capability in features.txt
Currently the 3 possible sources for this setting are: imx233, wm8750, wm8978

Change-Id: I4f2b23dbe203f2b357a264b77f801c7b4c28bdee
2013-09-25 14:31:39 +02:00
Tiago Medeiros
4596f51c90 FS#12882 - Updated translation for PT-PT
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>

Change-Id: I473e2c53f7333b94fbda7786cbb506732466eb1c
2013-07-18 20:57:21 +02:00