Commit graph

32644 commits

Author SHA1 Message Date
Frank Gevaerts
be9c227270 Don't require a specific BUILD_TOOLS_VERSION.
Pick anything with the correct major version, which should be good enough.

Currently we want sdk version 19, which has tools that come as 19.0.3 or
19.1.0, depending on when exactly the sdk was installed. Both work fine
for rockbox, so accepting both is useful.

Change-Id: Ie31306210e3cfe78288269574e78976b682eab31
2014-09-25 00:26:25 +02:00
Franklin Wei
428641998e Ptable: hopefully fix all the warnings, modify actinide/lanthanide behavior once again
... it's ready! :)

Change-Id: Ie6e9de6097bad2d2dcca2b6d927fe748fa69f60d
Reviewed-on: http://gerrit.rockbox.org/968
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-25 00:15:58 +02:00
Marcin Bukat
da417ab93d fix yellow
Change-Id: Ie3aa9b208e3f4f17d4d02f11f69839e9b381217d
2014-09-22 10:55:11 +02:00
nialv7
d392da8002 metadata: Add cuesheet embedded in ape tags.
Change-Id: I5d9e731c3ea786fb910afbb0a5201fc68dcab9f9
Reviewed-on: http://gerrit.rockbox.org/965
Reviewed-by: Nick Peskett <rockbox@peskett.co.uk>
Tested: Nick Peskett <rockbox@peskett.co.uk>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2014-09-22 10:20:39 +02:00
Michael Sparmann
582035c5cb iPod Classic: Fix several ATA driver bugs.
This improves compatibility with various HDD and CF/SD card mods.
It should also reduce power consumption while the drive is powered down.

Change-Id: I4b22c59b5d9ae2daea2ec5892e348e7e1934ca3e
Reviewed-on: http://gerrit.rockbox.org/897
Tested: Franklin Wei <frankhwei536@gmail.com>
Tested: Nial Shui <nialv7@gmail.com>
Tested: Michael Sparmann <theseven@gmx.net>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2014-09-22 10:16:35 +02:00
Sebastian Leonhardt
3e131abe27 YH8xx,YH9xx: Keymap Improvement
Keymaps are still work-in-progress, so wait for more.

Changes:
* standard: fix REC, so that it can be used in other mappings
  as 'exit' button
* pitchscreen: support button repeat for slow/fast playback
* keyboard:
  - change REW/FFWD mapping to backspace/page flip (more important than cursor imo)
  - use REC as cancel button
  - use FFWD as button-combo-meta-key; change cursor left/right
    to button combos, introduce OK/cancel as combos.
* recording:
  - REC exits recording screen (more consistend and more obvious imo)
  - REW enters recording menu; long REW exits

Change-Id: Ie80c2d122e4a8c6268d0f8c2fc0426cc49276110
Reviewed-on: http://gerrit.rockbox.org/953
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Tested: Szymon Dziok <b0hoon@o2.pl>
2014-09-21 13:29:26 +02:00
Nick Peskett
bd84946d8c Added Nial Shui (nialv7) to CREDITS 2014-09-21 06:53:03 +01:00
nialv7
5fd5b13939 unicode: Fix getle16 and getbe16
Change-Id: I8e1df113eee156491fc9624d148eb64c388bd962
Reviewed-on: http://gerrit.rockbox.org/958
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Tested: Chiwen Chang <rock1104.tw@yahoo.com.tw>
Reviewed-by: Nick Peskett <rockbox@peskett.co.uk>
Tested: Nick Peskett <rockbox@peskett.co.uk>
2014-09-21 07:42:49 +02:00
Marcin Bukat
f9be1ef021 regtools: reg-rk27xx.xml description file rework and cleanup
Change-Id: I0a2e45eb1b4aa03122382cc93bbc0c292b3249be
2014-09-19 12:38:19 +02:00
Marcin Bukat
b888743cac qeditor: Implement clock analyzer for rk27xx
Change-Id: Ib8f53d32120893b6c1054299ed434a6650a0d7c2
Reviewed-on: http://gerrit.rockbox.org/971
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2014-09-19 11:00:31 +02:00
Amaury Pouly
970c2482dd qeditor: rework modified indicator, register tab names depend on content
Because Qt doesn't support QObject multiple inherance, it is a bit tricky
to have a base class which interact with the UI. The register tab name
now display:
- file dump name (for dumps)
- hwstub device path (for hwstub)
And the register editor display the filename
Change-Id: If2579992098c02627c67d560c824f1668e73bc45
Reviewed-on: http://gerrit.rockbox.org/979
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:58:33 +02:00
Amaury Pouly
dbb59291e7 qeditor: implement usb device list refresh (if supported)
Change-Id: Iaf05cad0e057f767dcde963d194027b2e290dbea
Reviewed-on: http://gerrit.rockbox.org/978
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:58:23 +02:00
Amaury Pouly
57d6db6ff5 qeditor: fix UI to update register/analyser view on each tree/list click
Change-Id: Idaceb7ffaf33c2184a43353dd9d7dee20ac807a9
Reviewed-on: http://gerrit.rockbox.org/972
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:58:16 +02:00
Amaury Pouly
79c5a07b4d qeditor: fix horrible out of bound bug
Change-Id: I1b34b1cd7be83d90e38559e386d0c6c64797b707
Reviewed-on: http://gerrit.rockbox.org/977
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:58:07 +02:00
Amaury Pouly
0c633db980 qeditor: when switching type tab, automagically switch view, implement reload
Change-Id: I7360af3b5dd7380151732687d6d8de3dbd503f20
Reviewed-on: http://gerrit.rockbox.org/976
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:57:59 +02:00
Amaury Pouly
e1f1f22b66 qeditor: avoid memory leak in RegTab
Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a
Reviewed-on: http://gerrit.rockbox.org/975
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:57:47 +02:00
Amaury Pouly
a01bf8d93c qeditor: move backend selector to its own class, that's cleaner
Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653
Reviewed-on: http://gerrit.rockbox.org/974
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:57:32 +02:00
Amaury Pouly
b2ef4a806b qeditor: initialise libusb once in a static ctor
Change-Id: Ic93def2b3633c498c9863b0dada3281853be8c6c
Reviewed-on: http://gerrit.rockbox.org/973
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19 10:56:53 +02:00
Michael Giacomelli
7d112053ab Add Ilia Sergachev to credits for his work on the DX50 port.
Change-Id: Ic82e67a5514263995f24f86aa2b4d61470b8ffad
2014-09-18 19:15:30 +02:00
Simon Rothen
0b5ad60c26 Introducing Targets iBasso DX50 & iBasso DX90
The port to for this two targets has been entirely developped by Ilia Sergachev (alias Il or xzcc). His source
can be found at https://bitbucket.org/isergachev/rockbox . The few necesary modifications for the DX90 port
was done by headwhacker form head-fi.org. Unfortunately i could not try out the final state of the DX90 port.
The port is hosted on android (without java) as standalone app. The official Firmware is required to run this port.
Ilia did modify the source files for the "android" target in the rockbox source to make the DX port work. The work I did
was to separate the code for DX50 (&DX90) from the android target.
On this Target Ilia used source from tinyalsa from AOSP. I did not touch that part of the code because I do not understand it.
What else I changed from Ilias sources besides the separation from the target "android":
* removed a dirty hack to keep backlight off
* changed value battery meter to voltage battery meter
* made all plugins compile (named target as "standalone") and added keymaps
* i added the graphics for the manual but did not do anything else for the manual yet
* minor optimizations

known bugs:
* timers are slowed donw when playback is active (tinyalsa related?)
* some minor bugs

Things to do:
* The main prolem will be how to install the app correctly. A guy called DOC2008 added a CWM (by androtab.info) to the
  official firmware and Ilia made a CWM installation script and a dualboot selector (rbutils/ibassoboot, build with
  ndk-build). We will have to find a way to install rockbox in a proper way without breaking any copyrights.
  Maybe ADB is an option but it is not enable with OF by default. Patching the OF is probably the way to go.
* All the wiki and manual

to build:
needed: android ndk installed, android sdk installed with additional build-tools 19.1.0 installed

./tools/configure
select iBasso DX50 or iBasso DX90
make -j apk

the content of rockbox.zip/.rockbox needs to be copied to /system/rockbox/app_rockbox/rockbox/ (rockbox app not needed)
the content of libs/armeabi to /system/rockbox/lib/ (rockbox app needed)

The boot selector is needed as /system/bin/MangoPlayer and the iBasso app as /system/bin/MangoPlayer_original. There
is also the "vold" file. The one from OF does not work with DX50 rockbox (DX90 works!?), the one from Ilia is necessary.

Until we have found a proper way to install it, it can only be installed following the instructions of Ilia on his
bitbucket page, using the CWM-OF and his installation script package.

Change-Id: Ic4faaf84824c162aabcc08e492cee6e0068719d0
Reviewed-on: http://gerrit.rockbox.org/941
Tested: Chiwen Chang <rock1104.tw@yahoo.com.tw>
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-18 18:19:01 +02:00
Marcin Bukat
1f0fa05466 regtoools: Enhance rk27xx description file
Change-Id: If37551757188d98bcb27f7f469c11cf89bf64f62
2014-09-18 10:04:41 +02:00
Frank Gevaerts
0f61e3848c Remove long-obsolete note about different 32MB/64MB ipod video builds.
Thanks to Arthur Ferral for reporting (FS#12999)

Change-Id: Ia399fa7f02d3a5d5304f28a0b3d5a4ea637841ae
2014-09-16 21:26:52 +02:00
Amaury Pouly
8855ce5a79 regtools/soc_desc: fix libxml2 misinit
The code did not call xmlInitParser() and would call xmlCleanupParser() each
time which is doubly wrong because 1) it's not init 2) all init/cleanup
must be done from the main thread. To ensure 2), call it from a static ctor.

Change-Id: I3d191bf3b8c0cfc51da78157e88c786636fd3ebf
Reviewed-on: http://gerrit.rockbox.org/966
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-16 12:16:55 +02:00
Michael Sevakis
c1bbaf4050 Fix path_trim_whitespace() sign extension.
It should have been implemented as interpreting chars as unsigned
so that code points >= 0x80 would not get sign-extended and seen as
negative values.

Fixes FS#12995 - path_trim_whitespace() assumes unsigned char

Change-Id: I514e369681e00151588585311a0b6c66b9b5200c
2014-09-15 23:07:34 -04:00
Marcin Bukat
77bfff58ec rk27xx: Fill UDC block description in regs-rk27xx.xml
Change-Id: Ia44169bda8f1558c1cbd4c8c0d2d3aaee262c991
2014-09-15 14:10:12 +02:00
Michael Giacomelli
448a289da5 Disable periodic table plugin until all the compilation issues are sorted out.
Change-Id: Idb93aa9b5ad57ae1d5671ba5f17d0af0f2d201c7
2014-09-15 02:24:09 +02:00
Franklin Wei
3c33c6c2b6 hopefully fix the warnings
Change-Id: Id822234afc8906bb7c023810e902e604451ddfda
Reviewed-on: http://gerrit.rockbox.org/963
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 01:49:00 +02:00
Franklin Wei
b655912e29 ifdef out lcd_set_bg call
Change-Id: I78112f8099c09cc0993357e0f58a567c43381a50
Reviewed-on: http://gerrit.rockbox.org/962
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 01:07:23 +02:00
Franklin Wei
ba82784aae Fix building on clip
Change-Id: I4218cc9d45b144bfc3e58a44ef532d001d02e9ec
Reviewed-on: http://gerrit.rockbox.org/961
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 00:53:24 +02:00
Franklin Wei
2a35c4cad8 FS#9583 - periodic table
- original rockbox port: Yifu Huang
- original work: Jonathan Bettencourt

- modifications made:
  - PLA-fied
  - Add element 117 (ununseptium)
  - Implemented up/down
  - Fixed actinide/lanthanide navigation so that they are between scandium and titanium
  - Added manual entry
  - Fixed FG/BG colors

Change-Id: Ibabfb0d28f794689ffcd8b9c360fb969d118de08
Reviewed-on: http://gerrit.rockbox.org/950
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-15 00:47:11 +02:00
Michael Giacomelli
a7f23a5d05 Superdom: Silence warning.
Change-Id: Idec8c1a9defb19ebd753c2609b5d4207581c9248
2014-09-14 05:16:10 +02:00
Franklin Wei
1189fbe186 Superdom: rewrote help text
Change-Id: I54d5ee920b03f24faee5a6bf53ca56b27bbdc6c8
Reviewed-on: http://gerrit.rockbox.org/945
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:36 +02:00
Franklin Wei
a65f6ceaed Superdom: some AI improvements and other minor changes
Change-Id: Ia2756a7263ec09b78714273af0f604fc9cdb50eb
Reviewed-on: http://gerrit.rockbox.org/944
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:16 +02:00
Franklin Wei
333a82c8eb Superdom: added option for persistent units
Change-Id: I4c28f3c567ed435ba7aee36c8b54c76fc75e12aa
Reviewed-on: http://gerrit.rockbox.org/943
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:17:05 +02:00
Franklin Wei
ad79a90e39 [WIP] Superdom: AI can now use nukes
Change-Id: Iff5093b0edb4c065096d41c36d33bb2126063cf6
Reviewed-on: http://gerrit.rockbox.org/942
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 04:16:48 +02:00
Franklin Wei
bc00d38987 [WIP] Superdom: game improvements
- macro-ify board dimensions, surrender thresholds
 - make AI skill level adjustable
 - let AI buy nukes in hard mode (still can't use them yet)
 - make nukes persistent (stay after an invasion)
 - make AI treat nukes with priority

Change-Id: I1add6250766810787080624bd9e36026df449509
Reviewed-on: http://gerrit.rockbox.org/940
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:58:43 +02:00
Franklin Wei
a231754af9 Superdom: code cleanup
Change-Id: I3285238cfc098546307862f7d2e51e3b8e456a98
Reviewed-on: http://gerrit.rockbox.org/931
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:48:44 +02:00
Franklin Wei
e47ed2a534 Superdom: whitespace cleanup
Change-Id: Iab7aa68c4ed34809e1e9200cba9ee5bc0a09be8e
Reviewed-on: http://gerrit.rockbox.org/930
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-14 03:48:00 +02:00
Benjamin Brown
12f5c63474 Rockbox Manual - Gigabeat FX and Fuze+ Touchpad Config Appendix
Added to config_file_options.tex, sections for gigbeat and fuze+
sensitivity settings, also fuze+ touchpad deadzone setting.

Change-Id: I9bba52ca0ca5525e6a6fb337f6940d11571ee06a
Reviewed-on: http://gerrit.rockbox.org/954
Tested: Benjamin Brown <foolshperson@gmail.com>
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
2014-09-11 18:48:23 +02:00
Marcin Bukat
b7e3515a62 hwstub: small fixup in rk27xx usb driver
Change-Id: Ibf3b91af11041834ce650f663b213bac0113f721
2014-09-11 12:31:52 +02:00
Szymon Dziok
9a18ca486c Manual: add images for 128x96x16 resolution (YH-820).
Change-Id: If9a9c5eb733f61eddfe94a193db6d195c099d599
2014-09-09 10:08:22 +02:00
Benjamin Brown
0ff739cc6f Fix typo in fuze+ deadzone manual entry
Change-Id: I789a839941fa765e27fc91abcd5b395ab2df1316
Reviewed-on: http://gerrit.rockbox.org/952
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 22:11:18 +02:00
Szymon Dziok
f9bd72262b Manual: Delete another three duplicated and unused files. Fix one filename.
Change-Id: Ice3ecc9db6202e3eb6dca23a156b7d9344b6973d
2014-09-08 19:54:54 +02:00
Szymon Dziok
593ef7d698 Manual: delete unnecessary image.
The same file is under group of images called "ss-mandelbrot".

Change-Id: I00fd11417c64e7778a5873986c5df5e9c813bbeb
2014-09-08 16:42:43 +02:00
Szymon Dziok
4c6939fc3d Correct some file permissions.
Change-Id: I4a092a19d6a9c66dfeb2777c9655aa4b19d11e16
2014-09-08 16:04:39 +02:00
Szymon Dziok
c986655b64 Correction of the Sliding puzzle on Samsung YH-820.
Change-Id: Iceef613d8f99da75c7861e0ca472bc67e94a51f9
2014-09-08 15:23:13 +02:00
Szymon Dziok
5e0baf2922 Bubbles: make it work on Samsung YH-820 and align it on the occasion on Cowon M3.
Change-Id: I8d679ccba7f618cee78445b76452c368b00d2b60
2014-09-08 14:09:58 +02:00
Benjamin Brown
e312101181 Add touchpad deadzone entry in Rockbox manual
Change-Id: I227ba30628343db15e46e0250ba62e024d5b7ba1
Reviewed-on: http://gerrit.rockbox.org/939
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-08 12:54:33 +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
Amaury Pouly
847106cdb2 hwstub: add support for jump/call in library
Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
2014-09-08 11:12:54 +02:00