Commit graph

15423 commits

Author SHA1 Message Date
Michael Giacomelli
ee7dfb526e Manually unboost if not using boost in test_codec
Right now GUI boost interfers with test_codec running unboosted
by varying the CPU frequency.  This at least makes it more consistent
if run without user input.

Change-Id: I121615098d6bd72ccd13c4e665cc2e4d45d7b58c
2016-05-14 23:11:52 +02:00
Sebastian Leonhardt
45a02dcf81 Plugin 2048: Optimize for 128x96 screen
Change-Id: I47c2d857fbf9e53696e005b075d8a6f041738fe3
2016-04-07 11:52:09 +02:00
Mihail Zenkov
ce90c0481a Fix checking for CONFIG_CHARGING
Change-Id: I53b9a129679fd7b322770025106ef92033226d2a
2016-04-04 11:19:51 +02:00
Mihail Zenkov
e599810ffa Don't add new message to logf when we dump it to file
Fix log file corruption if we have new messages at dumping log to file. Comment
removed as it incorrect. We store all messages in direct order (last message at
end of file).

Change-Id: I4acfa8a0935cc41a889e08f6bc42974fefd1ade2
2016-04-04 11:07:44 +02:00
Mihail Zenkov
26beb30c15 Save bookmark and settings on shutdown at low battery level on players without HD
Change-Id: I9b9bbf0568de9a82107b0be3b42c3fdba0a0a27d
2016-04-04 11:07:04 +02:00
Mihail Zenkov
47d6d268c0 Cleanup unused function
Change-Id: I10aac94906607a74f05a687cb3d0029cb6faea6e
2016-04-04 11:06:29 +02:00
Mihail Zenkov
6228c8da18 Fix reset runtime
Change-Id: Ic1ba0c7c7883aae43100c67235dbc2db83056fe7
2016-04-04 11:05:43 +02:00
Boris Gjenero
134e5914a1 Align test_disk buffer for DMA.
Some targets can only use storage DMA if the memory location is storage
aligned. The required alignment can be more strict than word alignment,
which was used previously. This change ensures that aligned transfers
in test_disk can use DMA.

Change-Id: I605b4d57f9e9c04920587017032f14449645693a
2016-04-01 19:57:44 +02:00
Boris Gjenero
26697d0891 Fix FS#12981 JPEG decoding problem when entropy data starts with FF
This changes JPEG fill and invalid byte handling to be like
mozjpeg, and bases entropy data start on SOS marker location.

Thanks to Stefan Waldmann and Dean Tersigni for reporting.

Change-Id: I3c79cc6ac8d714fdc75c12b57ba427d611c99519
Chaange-Id: Ibc7c17d38d5be63642bdaf6adfd6acc2a6cf4450
2016-04-01 19:29:41 +02:00
Mihail Zenkov
25fc7f1860 Fix broken logf 2016-03-30 20:48:17 +00:00
Mihail Zenkov
fe9a3ceb0e GUI boost for any button
It improve responsiveness for all targets with frequency scaling.

Change-Id: I72c94daf58cee10c1772decbd0443856c111cc47
2016-03-18 21:39:37 +01:00
Frank Gevaerts
8d50cdca37 lua: don't include rockbox-specific libc headers for the button helper tool.
This fixes the "implicit declaration of function 'printf'" warning

Change-Id: I97d247bcab26ddba4d22e0fd19af45fdb47b8cce
2016-03-18 15:52:22 +01:00
Frank Gevaerts
2292782839 A better fix than b58b9c2.
I misunderstood the code a bit when I committed b58b9c2. The
read_char_no_whitespace() probably have to be done.

Change-Id: I024420149a04dbeed4d714795282bb7f88a8e1da
2016-03-13 23:01:35 +01:00
Frank Gevaerts
b58b9c26c9 Remove clearly broken error checking, as pointed out by newer gcc.
Note that the error checking is probably useful if done correctly,
but I have no way to test this, so just removing the offending code
is the only way forward. Thanks to the fairly creative bug, the code
did nothing at all anyway.

Change-Id: Ifeef57202f31e842ca1befa331f8b34e1c76757c
2016-03-13 22:52:45 +01:00
Cástor Muñoz
ff637c7641 iPod Classic: size optmizations for HAVE_ATA_SMART
After commit e9497db the switch() in ata_smart_get_attr_name() is no
longer optimized by the compiler, ata_smart_get_attr_rawfmt() is also
updated to prevent that future additions will cause the same problem.

Change-Id: Ib0d6482331f567896720589a5a2d93628f2d8f3d
2016-02-16 21:42:24 +01:00
Cástor Muñoz
e9497dbf6d iPod Classic: ATA SMART updates
- Add description for attributes supported by Samsung HS081HA (80Gb)
  and HS161JQ (CEATA 160Gb).
- Show error code when ata_read_smart() fails.

Change-Id: I618cc4f37d139fc90f596e2cf3a751346b27deb6
2016-02-14 15:17:42 +01:00
Sebastian Leonhardt
e6cd53ad53 Replace SAMSUNG_YH920_PAD with YH92X
seems more logical to me, and is more consistent, since
"SAMSUNG_YH92X_PAD" is already used in the tex files.

Change-Id: Ie9a9d850ea86155a7dcf86c88a22a420a10a3837
2016-01-25 09:23:09 +01:00
Michael Giacomelli
09dc358bee Change the debug menu to show CPU frequency in MHz.
Change-Id: Ibda9ceecbdd3c5548ccf0467c77c3fb4d4412c70
2016-01-17 01:17:28 +01: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
166da9add8 Plugin 2048: optimize small tiles
Change 12x12 and 22x22 sized tiles to hand-optimized ones
with better readibility :)
Tile values >= 1024 are abbreviated to "1k", "2k" etc.

Change-Id: I15f4649b20442b71027a3b1564bc51c7e72105ce
2016-01-11 20:13:25 +01:00
Sebastian Leonhardt
87229a49b2 Plugin Frotz: Match keymap and manual
Change source to match manual description:
use UP key to open virtual keyboard.

Change-Id: I5c6ffc356db42f305c918053c31a9595bf0dc3ac
2016-01-09 19:46:21 +01:00
Sebastian Leonhardt
5e91ec1401 Samsung YH820/92x keymap bugfixes
This patch fixes some (mostly small) plugin issues with the "big"
YH-keymap patch (a507b). Only one fix affects the main keymaps
(virtual keyboard "DONE" now exits after long key /release/ instead
of long button /press/).

Change-Id: Id34f925ebfa97ae4974cd9405fbe1fee4f597833
2015-12-27 18:14:41 +01:00
Szymon Dziok
5b7c9d40e7 fix yellow.
Change-Id: I3fb322f28b23e4b7a27a71e66c50887d298de554
2015-11-16 00:34:57 +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
Sebastian Leonhardt
a8758c953d Fix scrolling left button inadvertently cancels listtree
Depending on the actual keymap, canceling a listtree with the
"scroll left" button may not be intended, especially
if the list is entered from a completely different focus
(think of leaving a plugin with "long left")

Note:
initializing "scrolling_left" with true without anything actually
scrolling sounds odd to me... maybe this variable should be renamed?
"pgleft_allow_cancel" comes to my mind (with opposite boolean states)

Change-Id: I58a747fc90e91ae96e75932febb462f1f1a1b4ca
2015-11-10 20:40:36 +01:00
Sebastian Leonhardt
ce26212138 AB repeat: fix bug that prevents to jump to beginning of track
Change-Id: Ia323a2b16eaaf7d9afa888b71fd8b20fd9e2e62c
2015-10-25 20:58:36 +01:00
Cástor Muñoz
d20185ac96 iPod Classic: reads HDD S.M.A.R.T. data
Adds ata_read_smart() function to storage ATA driver, current
SMART data can be displayed and optionally written to hard
disk using System->Debug menu.

Change-Id: Ie8817bb311d5d956df2f0fbfaf554e2d53e89a93
2015-10-07 06:15:04 +02:00
Cástor Muñoz
be5fc0ff7f iAP: lingo 1 (microphone)
Change-Id: I65da2064951972368a2880d271280e5b5ae878fe
2015-10-07 06:15:04 +02:00
Cástor Muñoz
b2d650f511 iAP: authentication 1.0
Change-Id: I71b8e9f7ce2568c180396d6695cef18ce94ded32
2015-10-07 06:15:04 +02:00
Sebastian Leonhardt
f01fb3ca59 Fix chessbox keymap handling
Let's give the defined, yet unused keymaps some sense :)

Change-Id: I372217351f7edc35c69c8c29fba782d32c895d5b
2015-09-30 16:13:55 +02:00
Sebastian Leonhardt
729e7130a0 Snake2: add 128x96x16 bitmaps
These fit by pure chance exactly the YH820 screen :)

Change-Id: I0f7a7f5d14aa0497da5ddf63cf1f95a2c4989460
2015-09-28 23:19:19 +02:00
Sebastian Leonhardt
072d3cb268 Fix Pong button handling
* allow button combos for QUIT (fixes MPIO_HD300)
* allow quitting during PAUSE mode

Change-Id: Iaf8ffc65cdcfe6c1d25bfbad3e38764eea2664cc
2015-09-25 10:23:37 +02:00
Sebastian Leonhardt
d552ff2648 Chip8: implement missing key
KEYA is defined for Fuze+ (even in the manual),
but wasn't implemented yet.

Change-Id: Ib0a93544926c15893b1cce967db931f3b515422c
2015-09-25 10:22:53 +02:00
Sebastian Leonhardt
59928e6cf5 Shopper: slightly improve plugin and manual
* improve manual (hopefully fixes fs#11988). Parts of the
  description are taken from fs#10820.
* move ACTION_STD_CONTEXT from alternate select to alternate
  menu action, as not all targets have ACTION_STD_MENU
* add menu entries for "Quit" and "Quit without saving"

Change-Id: Iec86a1608756a899f9f9d7ec7d479838dfd1d95f
2015-09-24 23:15:24 +02:00
Franklin Wei
d8ee5fcfc4 2048: Cleanup
- more whitespace to enhance readability
 - better/fixed/more comments ;)
 - some minor optimizations
 - general code cleanup

Change-Id: I2b5f69aba0f83f989abb2c636920646e4315583f
2015-04-19 17:48:12 +02:00
Thomas White
d5ead5c8fa Don't shorten the playlist on shuffle. Fixes FS#13040
Change-Id: Ia482ac8248d831a5364ec7bf4d2ccb7b361d2f05
2015-04-19 12:31:45 +02:00
Christ van Willegen
ea334cf650 Rename 'expanded' to 'expended'. Was this a typo?
Change-Id: I2feaee4225f04e3b93f8ccde555090437238ee0f
2015-04-19 12:23:22 +02:00
Sebastian Leonhardt
06e76a375b Chopper game improvement
This tiny patch gives the player a bit time to
overlook the terrain and move the thumb to the
action button.

Change-Id: I63a4347c5bdafdd354f8c95b2bcdc64e046133a5
2015-04-11 00:27:44 +02:00
Åka Sikrom
f145660eff Norwegian language update (FS#13041)
Change-Id: Ie717c47a997c487c561bfe9bd2858de14cdc3665
2015-04-10 18:57:09 +02:00
Christ van Willegen
926829cba3 Re-seed the random generator for each new game.
Change-Id: I1b814e8475798830d204b4838d98b8b671d93e02
2015-04-08 09:45:02 +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
Thomas Jarosch
079d7fbb8b Revert "PictureFlow: Add move callback for buflib allocations"
It's not needed as picture flow has it's own buffer.

This reverts commit 9076b433d1.

Detailed explanation from Thomas Martiz (thanks!):

buflib buffers can be passed to yielding functions just fine. Problems
only arise if the are concurrent allocations, for example if two threads
allocate from the same context simultaneously or if the callee does it's
own allocations. This can't happen in the pictureflow case, it has it's
own context and a single thread allocating from it.

Therefore the problem isn't yield() itself, but possible concurrent
buflib_alloc() calls that result from the thread switch. This is because
compaction only ever happens on allocation (and not in a backgroud
thread or so).
2015-03-01 18:23:17 +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